[SOLVED] .htaccess for uploads
Posted: Wed Jun 18, 2008 11:50 am
I've tried using the method here... http://wiki.cmsmadesimple.org/index.php/How_to#How_to_Secure_CMSMS_system_-_Small_Guide
...to protect my uploads directory but it 'disables' anything in this directory when I implement. i.e. the browser won't load anything in/from my sub-directories.
My structure looks like this:
/uploads
.htaccess
/images
/video
My htaccess file contains:
The site is running on an Apache server with PHP 5.2.5
Am I missing something?
Thanks.
...to protect my uploads directory but it 'disables' anything in this directory when I implement. i.e. the browser won't load anything in/from my sub-directories.
My structure looks like this:
/uploads
.htaccess
/images
/video
My htaccess file contains:
Code: Select all
<Files *.php>
Order deny,allow
Deny from All
</Files>
Am I missing something?
Thanks.