Forum Moderators: phranque
this one redirect users to www.somesite.com. Now, I haveone folder where I want to allow users to get in but with Authorisation. I created second .htaccess file which I place in this subdirectory but something is not ok, looks like this:
RewriteEngine Off
AuthName "Restricted Area"
AuthType Basic
AuthUserFile /home/some/public_html/bat/.htpasswd
AuthGroupFile /dev/null
require valid-user
If I remove Auth part, Rewrite engine is off like it should be for that folder, but with Auth part RewriteEngine Off is ignored.
so my question is how can I turn off rewrite engine and add Auth part in same .htaccess
Please help