Duncan Hall wrote:

> This is odd.
>
> I have placed a .htaccess file in a cgi-bin and when I call a perl
> script from that directory it does not bring up the password
> authentication box it just executes the script.
>
> Any thoughts?
>
> Dunc
>
> -- \\- Duncan Hall - SysAdmin Viator - Sydney AU +61 2 93616137 -\\ --

Your basic Apache install doesn't allow you for using .htaccess file.
Look for : Allowioverride AuthConfig - it's in you apache config file-
The comment above is: This controls which options the .htacess files in
directories can override.

Secondly, look to it that the permissions on the .htaccess file are OK -
readable by your Apache server user.

(I know I had that problem too - It took me a while before I found this
- Although once you know, it sound so obvious  ;-)  )

Hope this helps
Herman

Reply via email to