Forum Moderators: phranque
my .htaccess file, located in /members
AuthName "Restricted Area"
AuthType Basic
AuthUserFile (my_password_directory)
AuthGroupFile /dev/null
require valid-user
<limit GET POST>
require valid-user
</limit>
<Files .htaccess>
order allow,deny
deny from all
</Files>
Everything has been working perfectly so far, EXCEPT for my DRM license php file, which, located at /members/drm/, is accessible, while other files in that directory are not. Furthermore, regardless of which subfolder i place it in, it's still accessible, while. I have NO other .htaccess files in place that could override the rules. I'm stumped!
-My host: Godaddy (yes, i'm cheap, for now)
I've tried to research this myself to no avail, so any input would be greatly appreciated.
Thank you!
~Chris
If the other files in the directory are successfully blocked by the .htaccess rule, I get the impression that the request for the DRM file is not being handled by Apache but by another process - and if that is the case, then you can't use an Apache rule to block access.