How to fix .htaccess file for mod_rewrite and addhandler on godaddy subdomain Wie zu beheben. Htaccess-Datei für mod_rewrite und AddHandler auf GoDaddy Subdomain
2,581 views - 2.581 Ansichten -Posted in: Verfasst am:
2,581 views 2.581 Ansichten
Please note: This page was originally written in English. Bitte beachten Sie: Diese Seite wurde ursprünglich in englischer Sprache geschrieben.
The original post can be viewed Der ursprüngliche Post angezeigt werden können here hier .
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! Ich schreibe diesen Artikel speziell für Menschen gehostet werden, dass GoDaddy haben die folgenden. Htaccess, mod_rewrite oder AddHandler Probleme auf gemeinsam genutzten oder Premium-Hosting-Accounts für verschiedene Open-Source-Anwendungen, wie zum Beispiel (aber nicht beschränkt auf) Wordpress, Drupal, BBPress, Moodle, Geeklog, PHPNuke, PostNuke, und vieles mehr!
Short list of potential issues: Kurze Liste von möglichen Problemen:
- problems with permalinks in Wordpress Probleme mit permalinks in Wordpress
- problems with clean URL’s in Drupal Probleme mit sauberem URL's in Drupal
- problems with pretty url’s in BBPress Probleme mit hübschen URL's in BBPress
- problems with Wordpress MU Probleme mit Wordpress MU
- 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 JEDE mod_rewrite Probleme in einer Sub-Verzeichnis, Subdomain, Sub-Ordner, Domain zugeordnet, dh ein Domain, die Sie im Setup-GoDaddy's Domain-Management -> Assign Domain Hosting Site Feature
I have struggled with two issues time and time again on a goDaddy shared or premium account. Ich habe Mühe mit zwei Fragen immer wieder auf einer gemeinsamen GoDaddy oder Premium Account. 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. Wenn ich auf "Domain-Management -> Assign Domain" und "Karte" eine Domain in einen Ordner des Root-URL, ich habe Probleme mit einer Website, muss die Verwendung einer. Htaccess-Datei für "neu schreiben" die URL's mit einem Funktion namens "mod_rewrite" - vor allem Wordpress und Drupal.
I came across a fix today that made all those problems go away forever. Ich kam in eine Korrektur heute, dass alle diese Probleme verschwinden für immer. To be able to do what I’m about to tell you, you must also be hosting your domain name with goDaddy . Um in der Lage zu tun, was ich zu Ihnen sagen, Sie müssen auch Hosting Ihrer Domain-Namen mit GoDaddy.
In your godaddy control panel, go to “Settings -> Domain Management”. In Ihrem Control Panel GoDaddy, gehen Sie auf "Einstellungen -> Domain-Management".
Click on “ Add New Record ” Klicken Sie auf "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 der ersten Zeile beachten Sie die IP-Adresse Ihres "@" host, wie Sie, indem Sie diese in das Feld kommt, dass, wenn Sie darauf klicken, um einen neuen Rekord. In the first field type an asterik (*). Im ersten Feld-Typ ein Asterisk (*). In the second field type the IP address of your “@” host. Im zweiten Feld geben Sie die IP-Adresse Ihres "@" host. Leave the drop down at one hour. Lassen Sie das Dropdown-in einer Stunde. Click “ok” to save. Klicken Sie auf "OK" zu speichern.
That’s it - you’re done! That's it - Sie sind fertig! There should be no fiddling with your .htaccess files at all. Es sollte kein Hantieren mit Ihrer. Htaccess-Dateien überhaupt.
Once I applied that simple fix - everything worked again. Einmal habe ich beantragt, dass einfache Korrektur - alles funktioniert wieder.
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. Ich habe auch Probleme hatten, wenn ich versucht habe zu bekommen. Html oder. Htm-Dateien zum Parsen von PHP-Code, als ob sie waren. Php Dateien auf GoDaddy, oder mit Anwendungen, die zur Nutzung PHP5. That fix is also really, really easy. Das Update ist auch wirklich, wirklich einfach. All you have to do is create an .htaccess file with the following 2 lines: Alles was Sie tun müssen, ist eine. Htaccess-Datei mit den folgenden 2 Zeilen:
AddHandler x-httpd-php5 .php AddHandler x-httpd-PHP5. Php
AddHandler x-httpd-php .php .htm html AddHandler x-httpd-php. Php. Htm html
























January 24th, 2008 at 9:13 pm 24. Januar 2008 um 9:13 pm
Thanks for figuring this out. Vielen Dank für diese dabei heraus.
One suggestion, I believe you meant “Settings -> DNS Manager†instead of “Settings -> Domain Management†… Ein Vorschlag, ich glaube Ihnen bedeutete â € œSettings -> DNS-Managerâ € anstelle von â € œSettings -> Domain Managementâ €…
Otherwise, excellent information. Ansonsten, gute Informationen.
Please edit (or delete) this comment after you edit you instructions. Bitte ändern (oder löschen) Diesen Kommentar, nachdem Sie bearbeiten Sie Anweisungen.
Thanks again. Thanks again.
March 4th, 2008 at 4:27 am 4. März 2008 in 4:27
[...] Blogs [...] 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 16. März 2008 in 12:34
I was wondering, what about build a niche store type sites? Ich habe überlegt, was zu bauen, eine Nische Art Shop-Seiten? Is there any way to put them on a subdomain without problems? Gibt es einen Weg, um sie in eine Sub-Domain ohne Probleme?
Pink Munoz’s last blog post.. Pink's Munoz letzten Blog-Eintrag .. Depression Glass Patterns Depression Glass Patterns
March 16th, 2008 at 12:35 pm 16. März 2008 in 12:35
is there a way to get bans sites to work like this? Gibt es eine Möglichkeit, Verbote Standorten zu arbeiten, wie das?
erica Munoz’s last blog post.. erica Munoz dem letzten Blog-Eintrag .. Depression Glass Patterns Depression Glass Patterns
March 21st, 2008 at 3:09 pm 21. März 2008 auf 3.09 Uhr
When I did this I was able to get my BANS site to work… Als ich tat dies konnte ich meine Website Verbote zu arbeiten…
May 4th, 2008 at 8:52 pm 4. Mai 2008 um 8:52 pm
WOW! Thanks! Danke! This worked for me with Wordpress! Dieser arbeitete für mich mit Wordpress!
May 22nd, 2008 at 2:30 pm 22. Mai 2008 auf 2.30 Uhr
hi, Hi,
i tried this too, but it said the subdomain is not valid! Ich habe versucht dies auch, aber sie sagte, die Sub-Domain ist nicht gültig! :( : (
any clue? jede Ahnung?
July 1st, 2008 at 10:20 pm 1. Juli 2008 in 10:20 Uhr
This was helpful to me. Das war hilfreich für mich. Very strange that setting up a wildcard could fix the mod_rewrite issue, but i’ll take it! Sehr merkwürdig, dass die Einrichtung einer Wildcard beheben könnte die mod_rewrite Problem, aber I'll take it!