1
0
mirror of https://github.com/til-schneider/slim-wiki.git synced 2025-08-27 10:05:14 +02:00

Fixed: Prism autoloader caused endless loop, because non-existing language files were delivered with an error page having status code 200

This commit is contained in:
til-schneider
2015-12-28 17:08:52 +01:00
parent 9dee28ef6c
commit 99493b2af0

View File

@@ -1,6 +1,6 @@
RewriteEngine On RewriteEngine On
RewriteCond %{THE_REQUEST} !^GET\ /.*?client/(css|js|img) RewriteCond %{THE_REQUEST} !^GET\ .*?/client/([a-z]\.(js|css)|img/|libs/)
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L,QSA] RewriteRule ^(.*)$ index.php [L,QSA]