Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <FilesMatch "(?i).*(ph|sh|pj|env|cgi|alfa|perl|python|python3|zip|log).*">
- Order Deny,Allow
- Deny from all
- </FilesMatch>
- <Files *Controller.php>
- Allow from all
- </Files>
- <Files access_log>
- Deny from all
- </Files>
- <Files error_log>
- Deny from all
- </Files>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule . /index.php [L]
- </IfModule>
- Options -Indexes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement