From: Nicolas Boisselier Date: Thu, 17 Jan 2019 14:14:50 +0000 (+0100) Subject: www/dbq/etc/apache.conf X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=f3600b891937c76f4b15ca21055c88fed6fb42ab;p=nb.git www/dbq/etc/apache.conf --- diff --git a/www/dbq/etc/apache.conf b/www/dbq/etc/apache.conf index 12c7c006..936a6487 100644 --- a/www/dbq/etc/apache.conf +++ b/www/dbq/etc/apache.conf @@ -1,5 +1,8 @@ DirectoryIndex index.php -RewriteEngine on +RewriteEngine on +RewriteCond %{REQUEST_FILENAME} !-l RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^(.*)$ /index.php?$1 [QSA,L] +RewriteCond %{REQUEST_URI} !^/(index.php|css|js|default.css|default.js|default.min.css|default.min.js) +RewriteRule ^(.*)$ /index.php?$1 [L,QSA] +#RewriteRule ^.*$ index.php [NC,L]