Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options +Indexes
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteCond %{REQUEST_URI} !^public
- RewriteRule ^(.*)$ web/$1 [L]
- </IfModule>
- # Deny accessing below extensions
- <Files ~ "(.json|.lock|.git)">
- Order allow,deny
- Deny from all
- </Files>
- # Deny accessing dot files
- RewriteRule (^\.|/\.) - [F]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement