ChaoticResolve Posted February 28, 2007 Share Posted February 28, 2007 At the mo I want when user requests http://example.com/protected to be authenticated and if they pass rewrite the folder protected to /home/hidden_files. I tried this but when they authenticate they are redirected to hidden_files instead of displayed them? AuthType Basic AuthUserFile /home/protected/.htpasswd AuthName "Members Area" require valid-user RewriteEngine on RewriteRule ^(.*)$ /home/hidden_files any ideas? Quote Link to comment Share on other sites More sharing options...
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.