hellofacteurV1/www/.htaccess

11 lines
345 B
ApacheConf
Raw Permalink Normal View History

2021-11-02 11:23:49 +01:00
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.hellofacteur.com$
RewriteRule ^(.*) https://www.hellofacteur.com/$1 [QSA,L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (.*)$ index.php?p=$1 [L,QSA]
</IfModule>
ErrorDocument 404 /404.html