[users@httpd] password protected dir with unprotected subdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've set up one directory to be password protected.

Alias /work "/work1/"
<Directory "/work1">
	Options Indexes MultiViews
	AllowOverride None
        Order allow,deny
        AuthUserFile /etc/httpd/htpasswords
        AuthType Basic
        AuthName "Work1"
        require user strycat
	Allow from all
</Directory>

This is great and works like it should

Now I want another alias to point to the /work1/open subdir and to be
unprotected.

Alias /demo "/work1/open/"
<Directory "/work1/open">
	Options Indexes MultiViews
	AllowOverride None
        Order allow,deny
	Allow from all
</Directory>

As I feared the first directory (/work1)  kicks in and requires a
user.  Is there something I can do to unprotect just that one subdir
or will I need to move it?

Thanks in advance.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux