diff options
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1 +1,11 @@ | |||
1 | ErrorDocument 404 http://localhost/melaine-polo-mvc/erreur404.php | 1 | # redirection en cas d'erreur 404 |
2 | |||
3 | # site simple | ||
4 | #ErrorDocument 404 http://localhost/melaine/erreur404.php | ||
5 | |||
6 | # site "hôte virtuel" (cas des hébergeurs et d'une debian par défaut) | ||
7 | ErrorDocument 404 http://melaine.localhost/erreur404.php | ||
8 | #ErrorDocument 404 "<a href='http://melaine.localhost/erreur404.php' >retour au site</a>" | ||
9 | |||
10 | # Interdire exploration du répertoire | ||
11 | #Options All -Indexes | ||