Re: [EMAIL PROTECTED] Configuring htpasswd only for specific ServerAlias

2007-02-02 Thread Ben Roberts
I know this can be done by creating a new virtual host container for foo.domain.com instead of using a serveralias, but I'd rather not do that if possible. Why not? sections are designed for exactly this purpose. Joshua. Yes I suppose so. I've also realised I now need to configure logging

Re: [EMAIL PROTECTED] Configuring htpasswd only for specific ServerAlias

2007-02-02 Thread Joshua Slive
On 2/2/07, Ben Roberts <[EMAIL PROTECTED]> wrote: I know this can be done by creating a new virtual host container for foo.domain.com instead of using a serveralias, but I'd rather not do that if possible. Why not? sections are designed for exactly this purpose. Joshua. ---

[EMAIL PROTECTED] Configuring htpasswd only for specific ServerAlias

2007-02-02 Thread Ben Roberts
Does anybody know if it's possible to apply htpasswd authentication to a particular directory ONLY if a specific ServerAlias is requested. e.g. I have a single virtual host container, with 2 server aliases: ServerName www.domain.com ServerAlias foo.domain.com