2020-05-02 17:48:34 +02:00
|
|
|
RewriteEngine On
|
|
|
|
|
2020-05-05 12:48:52 +02:00
|
|
|
# Always rewrite tmp, css & libs file access
|
2020-05-04 17:55:46 +02:00
|
|
|
RewriteRule ^(tmp/.*)$ index.php?REQUESTED_URL=$1 [L,QSA]
|
2020-05-05 12:48:52 +02:00
|
|
|
RewriteRule ^(css/.*)$ index.php?REQUESTED_URL=$1 [L,QSA]
|
|
|
|
RewriteRule ^(libs/.*)$ index.php?REQUESTED_URL=$1 [L,QSA]
|
2020-05-04 17:55:46 +02:00
|
|
|
|
2020-05-02 17:48:34 +02:00
|
|
|
# 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]
|