ldapsaisie/public_html/.htaccess
2020-05-05 12:48:52 +02:00

13 lines
447 B
ApacheConf

RewriteEngine On
# Always rewrite tmp, css & libs file access
RewriteRule ^(tmp/.*)$ index.php?REQUESTED_URL=$1 [L,QSA]
RewriteRule ^(css/.*)$ index.php?REQUESTED_URL=$1 [L,QSA]
RewriteRule ^(libs/.*)$ index.php?REQUESTED_URL=$1 [L,QSA]
# If the request is not for a valid file
RewriteCond %{REQUEST_FILENAME} !-f
# If the request is not for a valid link
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?REQUESTED_URL=$1 [L,QSA]