Hacker News new | past | comments | ask | show | jobs | submit login

When I'm working with CodeIgniter (which ExpressionEngine is based off), I always rewrite access to subfolders of the project to the index.php file, because that's the only file that there needs to be access to for the site to function properly. This keeps anyone from accessing configuration (or any other) files.

  RewriteCond %{REQUEST_URI} ^somefolder.*
  RewriteRule ^(.*)$ /index.php?/$1 [L]



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: