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. Link to comment https://forums.phpfreaks.com/topic/40745-alias-if-auth-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.