Skip to content
Permalink
Browse files

Avoid exposing default htaccess file

  • Loading branch information
luislavena committed Nov 17, 2017
1 parent c0b5b63 commit a79d8cbdb1a5e0ad8432670d13de745a94a1b0ea
Showing with 1 addition and 0 deletions.
  1. +1 −0 htaccess
@@ -7,6 +7,7 @@ RewriteBase /engine/
# Protect application and system files from being viewed
RewriteRule ^(config/settings|config/users|engine/application|engine/modules|engine/system) - [F,L]
RewriteRule ^(.*).yml$ - [F,L]
RewriteRule ^htaccess$ - [F,L]

# Rewrite all other URLs to index.php/URL
RewriteRule ^notfound$ index.php/$0 [PT,L]

0 comments on commit a79d8cb

Please sign in to comment.
You can’t perform that action at this time.