mirror of https://github.com/flarum/flarum
Rules no longer necessary with the public folder
parent
0e0d443f85
commit
23a1ed3e58
|
@ -23,12 +23,6 @@
|
||||||
|
|
||||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
|
||||||
RewriteRule ^vendor/(.*)?$ / [F,L]
|
|
||||||
RewriteRule ^storage/(.*)?$ / [F,L]
|
|
||||||
RewriteRule ^config.php$ / [F,L]
|
|
||||||
RewriteRule /\.git / [F,L]
|
|
||||||
RewriteRule ^composer\.(lock|json)$ / [F,L]
|
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
RewriteRule !^assets index.php [QSA,L]
|
RewriteRule !^assets index.php [QSA,L]
|
||||||
|
|
Loading…
Reference in New Issue