ChaoticResolve Posted March 1, 2007 Share Posted March 1, 2007 Ok I want the folder user/ to authenicate the user, then if they authenticate make the folder an alias of /home/private I also want guest/ to be an alias of /home/private <VirtualHost *:80> DocumentRoot /home/www ServerAdmin dom.england <Directory "/user"> AuthType Basic AuthUserFile /home/.htpasswd AuthName "Members Area" require valid-user </Directory> Alias "/user" "/home/private" <Directory "/guest"> Allowoverride All </Directory> Alias "/guest" "/home/private" </VirtualHost> At the moment it is bypassing the authentication and going straight to the alias. 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.