How to fix .htaccess file for mod_rewrite and addhandler on godaddy subdomain Come rimediare. Htaccess file per mod_rewrite e AddHandler a GoDaddy sottodominio
3,451 views - 3.451 opinioni -Posted in: Posted in:
3,451 views 3.451 punti di vista
Please note: This page was originally written in English. Nota: Questa pagina è stata scritta originariamente in lingua inglese.
The original post can be viewed Il post originale può essere visualizzato here qui .
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! Sto scrivendo questo articolo specificamente per le persone ospitate su GoDaddy che hanno avuto il seguente. Htaccess, mod_rewrite o AddHandler problemi sulla condivisione di hosting o di premio per vari conti applicazioni open source, come ad esempio (ma non solo) WordPress, Drupal, BBPress, Moodle, Geeklog, PHPNuke, PostNuke, e ancora di più!
Short list of potential issues: Breve elenco di potenziali problemi:
- problems with permalinks in Wordpress problemi con i permalinks in Wordpress
- problems with clean URL’s in Drupal problemi con puliti URL in Drupal
- problems with pretty url’s in BBPress problemi con url piuttosto in BBPress
- problems with Wordpress MU problemi con 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 QUALSIASI mod_rewrite problemi in una sotto-directory, sottodominio, sotto-cartella, mappato dominio, vale a dire, un dominio che l'installazione in GoDaddy di Gestione dominio -> Assegna a dominio del sito che ci ospita funzione
I have struggled with two issues time and time again on a goDaddy shared or premium account. Ho lottato con due questioni più volte su un GoDaddy condivisa o premio conto. 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. Se vado in "gestione del dominio -> Assegnazione di dominio" e "mappa" un dominio in una cartella di root URL, ho problemi con qualsiasi altro sito che ha bisogno di usare uno. Htaccess file per "riscrivere" la URL utilizzando un funzione, denominata "mod_rewrite" - e soprattutto di Wordpress Drupal.
I came across a fix today that made all those problems go away forever. Mi sono imbattuto in una correzione che ha reso oggi tutti i problemi scompaiono per sempre. To be able to do what I’m about to tell you, you must also be hosting your domain name with goDaddy . Per essere in grado di fare ciò che sto per dirvi, è necessario anche essere qui il tuo nome a dominio con GoDaddy.
In your godaddy control panel, go to “Settings -> Domain Management”. GoDaddy nel tuo pannello di controllo, vai a "Impostazioni -> Gestione dominio".
Click on “ Add New Record ” Fare clic su "Aggiungi nuovo 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 prima linea molto nota l'indirizzo IP del simbolo "@" ospitante, l'avrete digitando questo nella casella che compare quando si sceglie di aggiungere un nuovo record. In the first field type an asterik (*). Nel primo tipo di campo uno asterik (*). In the second field type the IP address of your “@” host. Nel secondo tipo di campo l'indirizzo IP del tuo "@" host. Leave the drop down at one hour. Lasciare la discesa a un'ora. Click “ok” to save. Fare clic su "OK" per salvare.
That’s it - you’re done! Questo è tutto - il gioco è fatto! There should be no fiddling with your .htaccess files at all. Non ci dovrebbero essere fiddling con il tuo. Htaccess a tutti i file.
Once I applied that simple fix - everything worked again. Ho applicato una volta che semplice correzione - funziona tutto di nuovo.
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. Ho anche avuto problemi quando ho tentato di ottenere. Html o. Htm per analizzare i file di codice PHP, come se fossero. Php files su GoDaddy, o con applicazioni che doveva utilizzare PHP5. That fix is also really, really easy. Che la correzione è anche molto, molto facile. All you have to do is create an .htaccess file with the following 2 lines: Tutto quello che dovete fare è creare un file. Htaccess file con le seguenti 2 righe:
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 gennaio 2008, 9:13 pm
Thanks for figuring this out. Grazie per capire questo.
One suggestion, I believe you meant “Settings -> DNS Manager†instead of “Settings -> Domain Management†… Un suggerimento, credo che si intende â € œSettings -> DNS Managerâ € invece di â € œSettings -> dominio Managementâ €…
Otherwise, excellent information. In caso contrario, eccellente informazioni.
Please edit (or delete) this comment after you edit you instructions. Vi preghiamo di modificare (o cancellare) questo commento dopo aver modificato le istruzioni.
Thanks again. Grazie ancora.
March 4th, 2008 at 4:27 am 4 marzo 2008, 4:27 am
[...] 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 Marzo 16, 2008 12:34 pm
I was wondering, what about build a niche store type sites? Mi chiedevo, che dire di costruire un negozio di nicchia tipo siti? Is there any way to put them on a subdomain without problems? Esiste un modo per metterli in un sottodominio senza problemi?
Pink Munoz’s last blog post.. Rosa Munoz l'ultimo post sul blog .. Depression Glass Patterns Depressione modelli di vetro
March 16th, 2008 at 12:35 pm Marzo 16, 2008 12:35 pm
is there a way to get bans sites to work like this? c'è un modo per ottenere il divieto di siti a lavorare come questo?
erica Munoz’s last blog post.. erica Munoz l'ultimo post sul blog .. Depression Glass Patterns Depressione modelli di vetro
March 21st, 2008 at 3:09 pm 21 Marzo 2008, 3:09 pm
When I did this I was able to get my BANS site to work… Quando ho fatto sono riuscito ad avere il mio sito BANS al lavoro…
May 4th, 2008 at 8:52 pm 4 maggio 2008 alle 8:52 pm
WOW! Thanks! Grazie! This worked for me with Wordpress! Questo per me lavorato con Wordpress!
May 22nd, 2008 at 2:30 pm 22 maggio, 2008 2:30 pm
hi, Salve,
i tried this too, but it said the subdomain is not valid! ho provato anche questo, ma ha detto il sottodominio non è valido! :( : (
any clue? qualsiasi indizio?
July 1st, 2008 at 10:20 pm 1 ° luglio 2008, 10:20 pm
This was helpful to me. Questo è stato utile per me. Very strange that setting up a wildcard could fix the mod_rewrite issue, but i’ll take it! Molto strano che l'istituzione di un jolly potrebbe risolvere il problema mod_rewrite, ma I'll prenderlo!