Tom Posted April 18, 2011 Report Posted April 18, 2011 I want to prevent downloading of any zips by putting the address in your browser, so I can control who is downloading. I added it to the htaccess as follows, but no luck <FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl|zip)$"> Order Allow,Deny Deny from all </FilesMatch> Quote
Administrators Nabeel Posted April 18, 2011 Administrators Report Posted April 18, 2011 Are tpl's blocked? Quote
Tom Posted April 18, 2011 Author Report Posted April 18, 2011 Yeah, I pasted this from Vansers' thread a while back. Works for everything else. Quote
Administrators Nabeel Posted April 18, 2011 Administrators Report Posted April 18, 2011 Strange, I thought the order would be Order Deny, Allow Quote
Tom Posted April 18, 2011 Author Report Posted April 18, 2011 Changing the order doesn't make a difference fivedev automatically has these settings right? Does it override what I put in my htaccess files? Quote
Administrators Nabeel Posted April 18, 2011 Administrators Report Posted April 18, 2011 Ah, the front-end automatically serves up files which exist, so images, and zips won't hit apache or the htaccess (it keeps load down significantly) Let me see if I can tweak that Quote
Administrators Nabeel Posted April 18, 2011 Administrators Report Posted April 18, 2011 Give it a shot now Quote
Tom Posted April 19, 2011 Author Report Posted April 19, 2011 Yeah it's still downloading Edit: Don't worry, I'm going to use a directory above public_html instead. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.