Re: htaccess and htpasswd

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

 



Mandy Singh wrote:
Hi Tony,

Yes I needed to move stuff to the httpd.conf file, but still how does one do domain level password protection. Your example is directory level password protection that would apply to all Virtual Hosts.

Any idea on domain level?

In the vhost you want to 'protect' use :

<Location />
Pass Auth text in here
</Location>

This will then apply only to that vhost, and not the FS path.

let me know how you get on.


Tony

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[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