L'URL rewriting (réécriture d'URL) permet d'obtenir de remplacer des URL du type :
http://www.exemple.com/article.php?c=web?l=xhtml&r=w3c&t=how-to-validate
par
http://www.exemple.com/web/xhtml/w3c/how-to-validate
Ici, ce n'est pas le cas.
Utilisation de PHP 5 pour l'interpretation des pages PHP
Fonctionne chez Free...Tu y es ?
1 2
| ErrorDocument 404 index.php/pages/erreur404.html
ErrorDocument 401 index.php/pages/erreur401.html |
Définition des pages d'erreur personnalisées.
1 2
| AddType application/x-httpd-php .htm
AddType application/x-httpd-php .html |
Force l'interpretation des fichier .htm et .html par PHP (ignoré chez Free).
Il faut proceder par élimination. Pour ce faire, il suffit de commenter les directives à l'aide du signe # en début de ligne.
Par exemple, si tu commentes la ligne
#PHP 5
et que l'erreur presiste, il faut la décommenter et commenter les suivantes.
Partager