Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Protect the htaccess file
- <Files .htaccess>
- Order Allow,Deny
- Allow from all
- </Files>
- # Protect the config file
- <Files config.php>
- Order Allow,Deny
- Allow from all
- </Files>
- # Protect the security file
- <Files project-security.php>
- Order Allow,Deny
- Allow from all
- </Files>
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^([^\.]+)$ $1.php [NC,L]
Add Comment
Please, Sign In to add comment