Deny all directories except one

Discussion in 'Apache' started by RoeZ, Feb 8, 2006.

  1. #1
    Hi, i want to deny all directories for all users except one dir, i know have this wich denies all directories. Can anyone please tell me how i should for example allow the directory 'wap' to be allowed by all ? thanks in advance

    AuthType Basic
    AuthName "protected area"
    AuthUserFile /dir/to/.htpasswd
    require valid-user
     
    RoeZ, Feb 8, 2006 IP