-
-
Save laravel-blog/acec286caf32c5e42551 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) | |
RewriteRule .* - [F] | |
RewriteCond %{REQUEST_URI} oxseo\.php$ | |
RewriteCond %{QUERY_STRING} mod_rewrite_module_is=off | |
RewriteRule oxseo\.php$ oxseo.php?mod_rewrite_module_is=on [L] | |
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/) | |
RewriteCond %{REQUEST_URI} !^/vw/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule !(\.html|\/|\.jpg|\.css|\.pdf|\.doc|\.gif|\.png|\.js|\.htc|\.svg)$ %{REQUEST_URI}/ [R=301,L] | |
RewriteCond %{REQUEST_URI} !(\/admin\/|\/core\/|\/application\/|\/export\/|\/modules\/|\/out\/|\/setup\/|\/tmp\/|\/views\/) | |
RewriteCond %{REQUEST_URI} !^/vw/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule (\.html|\/)$ oxseo.php | |
RewriteCond %{REQUEST_URI} (\/out\/pictures\/) | |
RewriteCond %{REQUEST_URI} !^/vw/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule (\.jpe?g|\.gif|\.png|\.svg)$ getimg.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment