How to fix .htaccess file for mod_rewrite and addhandler on godaddy subdomain 하는 방법을 수정합니다. htaccess 파일에 mod_rewrite와 AddHandler를 사용 하위 도메인을 godaddy
2,381 views - 2381 조회 -Posted in: 게시 :
2,381 views 2381 조회
Please note: This page was originally written in English. 참고 사항 :이 페이지는 원래 영어로 작성된합니다.
The original post can be viewed 게시물의 원래으로 볼 수있습니다 here 여기에 . 합니다.
Please note: This page was originally written in English.
The text has been translated using an online service such as Google or Babelfish.
The original post can be viewed here.
I’m writing this article specifically for people hosted on godaddy that have had the following .htaccess, mod_rewrite or addhandler problems on shared or premium hosting accounts for various open source applications, such as (but not limited to) Wordpress, Drupal, BBPress, Moodle, Geeklog, PHPNuke, Postnuke, and more! 나는이 문서 작성을 위해 특별히 godaddy에 호스팅되는 사람은 다음과 같은합니다. htaccess, mod_rewrite 또는 AddHandler를 사용 문제를 공유하거나 보험료를 호스팅 계정에 대한 다양한 오픈 소스 애플 리케이션과 같은 (국한되지 않으며) wordpress, Drupal -, bbpress, 무들, 투표, phpnuke, postnuke, 그리고 더!
Short list of potential issues: 짧은리스트의 잠재적인 문제 :
- problems with permalinks in Wordpress permalinks에 문제가 wordpress
- problems with clean URL’s in Drupal 문제가 청소 url의 Drupal -
- problems with pretty url’s in BBPress 문제가 상당히 url의 bbpress
- problems with Wordpress MU 문제가 wordpress 뮤
- ANY mod_rewrite problems in a sub-directory, subdomain, sub-folder, mapped domain, ie, a domain you setup in goDaddy’s Domain Management -> Assign Domain to Hosting Site feature mod_rewrite 문제를 어떠한 서브 - 디렉토리, 서브 도메인, 서브 - 폴더, 맵핑된 도메인, 즉, 설치 프로그램을 godaddy 당신의 도메인은 도메인 관리 -> 호스팅 사이트에 도메인을 할당하는 기능을
I have struggled with two issues time and time again on a goDaddy shared or premium account. 시간이 지남에 나는 두 가지 문제와 투쟁을 다시 godaddy에 프리미엄 계정을 공유하거나합니다. If I go into “Domain management -> Assign Domain” and “map” a domain to a folder of the root URL, I have problems with any site that needs to use an .htaccess file for “rewrite” the URL’s using a feature called “mod_rewrite” - especially Wordpress and Drupal. 만약 내가 들어갈 "도메인 관리 -> 할당하는 도메인"및 "지도"는 도메인을 폴더의 루트 url, 나가 필요한 기능에 문제가있는 사이트를 사용하는합니다. htaccess 파일에 "재작성"하십시오를 사용하는가 기능을 호출 "mod_rewrite"- 특히 wordpress와 Drupal -합니다.
I came across a fix today that made all those problems go away forever. 나는 오늘 우연히 만들면서, 이러한 문제를 해결 떠나 영원합니다. To be able to do what I’m about to tell you, you must also be hosting your domain name with goDaddy . 내가 뭘 할 수있을에 대해 말씀 드리고 싶은 것은 귀하의 도메인 이름을 호스팅해야합니다 godaddy도합니다.
In your godaddy control panel, go to “Settings -> Domain Management”. 제어판의 godaddy 이동하여 "환경 설정 -> 도메인 관리"합니다.
Click on “ Add New Record ” "를 클릭하십시오 새 레코드"
In the very first line note the IP address of your “@” host, as you’ll by typing this into the box that comes up when you click to add a new record. 아주 첫 번째 줄에의 주소를 참고 : "@"호스트,에서와 같이이 코드를 입력하여가 나타나있는 상자를 클릭하면 새로운 기록을 추가합니다. In the first field type an asterik (*). 첫 번째 필드에 입력하는 asterik (*)로합니다. In the second field type the IP address of your “@” host. 두 번째 필드에 주소를 입력하여 귀하의 "@"호스트합니다. Leave the drop down at one hour. 드롭 다운 메뉴에서 떠나 1 시간합니다. Click “ok” to save. "확인"을 클릭에 저장합니다.
That’s it - you’re done! 그게 다야 -이 모두 끝났습니다! There should be no fiddling with your .htaccess files at all. fiddling에이없습니다. htaccess 파일을 모두합니다.
Once I applied that simple fix - everything worked again. 일단 적용 그렇게 간단한 수정 - 모든 작업을 다시합니다.
I’ve also had problems when I’ve attempted to get .html or .htm files to parse PHP code as if they were .php files on goDaddy, or with applications that had to use PHP5. 나는 나는 가져오려 때 발생하는 문제도합니다. html 또는합니다. htm 파일을 구문 분석 코드 것처럼 그들은합니다. php 파일을 godaddy, 또는와 응용 프로그램이 php5를 사용해야만합니다. That fix is also really, really easy. 또한이 수정 프로그램은 정말 간단합니다. All you have to do is create an .htaccess file with the following 2 lines: 당신이 할 수있는 일은 만들려합니다. htaccess 파일에 다음과 같은 2 개의 선 :
AddHandler x-httpd-php5 .php AddHandler를 사용 x - 웹서버 - php5합니다. php
AddHandler x-httpd-php .php .htm html AddHandler를 사용 x - 웹서버 - php. php. htm html
























January 24th, 2008 at 9:13 pm 2008년 1월 24일에서 오후 9시 13분
Thanks for figuring this out. 이 상황을 이해하기 주셔서 감사합니다.
One suggestion, I believe you meant “Settings -> DNS Manager†instead of “Settings -> Domain Management†… 한 제안은 의미 난 당신을 믿어요 â € œsettings -> dns managerâ â € € 대신에 œsettings -> 도메인에 managementâ €…
Otherwise, excellent information. 그렇지 않으면, 우수한 정보를합니다.
Please edit (or delete) this comment after you edit you instructions. 수정하시기 바랍니다 (또는 삭제)이 덧글을 수정한 후에는이 지침을합니다.
Thanks again. 다시 한 번 감사드립니다.
March 4th, 2008 at 4:27 am 2008년 3월 4일에서 오전 4시 27분
[...] Blogs [...] 블로그 http://www.crazyleafdesign.com/blog/check-if-mod_rewrite-is-activated-on-your-server/ http://www.jtpratt.com/2008/01/22/how-to-fix-htaccess-file-for-mod_rewrite-and-addhandler-on-godaddy.. http://www.jtpratt.com/2008/01/22/how-to-fix-htaccess-file-for-mod_rewrite-and-addhandler-on-godaddy .. . 합니다. http://pensae.com/2008/01/14/when-mod_rewrite-doesnt-work/ [...]
March 16th, 2008 at 12:34 pm 2008년 3월 16일에서 오후 12시 34분
I was wondering, what about build a niche store type sites? 궁금 하군요, 어떻게 틈새 저장소의 유형에 대해 사이트를 만드는가? Is there any way to put them on a subdomain without problems? 어떤 방법 으로든이 문제없이 하위 도메인을 올려놔?
Pink Munoz’s last blog post.. 핑크 무뇨스의 마지막 블로그 게시물 .. Depression Glass Patterns 우울증 유리 패턴을
March 16th, 2008 at 12:35 pm 2008년 3월 16일에서 오후 12시 35분
is there a way to get bans sites to work like this? 이 같은 동작을 수있는 방법을 금지하는 사이트를이세요?
erica Munoz’s last blog post.. 에리카 무뇨스의 마지막 블로그 게시물 .. Depression Glass Patterns 우울증 유리 패턴을
March 21st, 2008 at 3:09 pm 2008년 3월 21일에서 오후 3시 9분
When I did this I was able to get my BANS site to work… 을 볼 수 있었는데 이렇게하면 내 사이트가 작동을 금지…
May 4th, 2008 at 8:52 pm 2008년 5월 4일에서 오후 8시 52분
WOW! 와우! Thanks! 감사합니다! This worked for me with Wordpress! 이 나를 위해 일한 wordpress!
May 22nd, 2008 at 2:30 pm 2008년 5월 22일에서 오후 2:30
hi, 안녕,
i tried this too, but it said the subdomain is not valid! 이것도했는데,하지만 말로는 하위 도메인이 유효하지 않습니다! :( : (
any clue? 어떤 실마리가?