Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Funny how similar this looks to me code :D I was wondering if you could help me more with the .htaccess code however. I tried RewriteEngine on RewriteRule ^(.*)$ - [F] however I can still download the files if I access them directly (with google chrome at least). What should I be doing? Commented Oct 8, 2010 at 0:33
  • just edited my answer with the according code for your .htaccess Commented Oct 8, 2010 at 0:39
  • @Ben if you would tell us what kind of condition you are talking about, somebody might even come up with a .htaccess only solution for this. Commented Oct 8, 2010 at 0:46