Switch to Symfony-style rewrite rules for unclean URLs.
parent
0476d5d3c8
commit
7b8da00cda
|
@ -109,7 +109,7 @@ DirectoryIndex index.php index.html index.htm
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteCond %{REQUEST_URI} !=/favicon.ico
|
RewriteCond %{REQUEST_URI} !=/favicon.ico
|
||||||
RewriteRule ^ index.php [L]
|
RewriteRule ^(.*)$ index.php [L]
|
||||||
|
|
||||||
# Rules to correctly serve gzip compressed CSS and JS files.
|
# Rules to correctly serve gzip compressed CSS and JS files.
|
||||||
# Requires both mod_rewrite and mod_headers to be enabled.
|
# Requires both mod_rewrite and mod_headers to be enabled.
|
||||||
|
|
Loading…
Reference in New Issue