Re: [EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Ben Roberts
Joshua Slive wrote: On 4/19/07, Ben Roberts <[EMAIL PROTECTED]> wrote: Hello there, I need to setup htpasswd protection on a web directory served by Apache. I also need to permit access to the index file in the specified directory, but block access to any other files or subdirectorie

[EMAIL PROTECTED] Setup htpasswd on directory but allow access to index file

2007-04-19 Thread Ben Roberts
Hello there, I need to setup htpasswd protection on a web directory served by Apache. I also need to permit access to the index file in the specified directory, but block access to any other files or subdirectories. So I'm using a configuration like this: Order deny,allow Al

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

[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