mod_rewrite rules to prevent access to assets folder and contents? |
[eluser]Unknown[/eluser]
Hello, I'm struggling with coming up with the correct .htaccess rules to prevent direct external access from the contents of my CI project assets folder (and subfolders). Any suggestions? regards, Bob
[eluser]Unknown[/eluser]
Thanks! After much thrashing around, I found that putting these lines in .htaccess at the root of my project did the trick: # prevent directory browsing Options All -Indexes # prevent folder listing IndexIgnore * http://perishablepress.com/stupid-htaccess-tricks/ -Bob |
Welcome Guest, Not a member yet? Register Sign In |