Re: Password protecting cgi-bin

From: Drew Mazurek (andrew.mazurek@yale.edu)
Date: Fri Jan 21 2000 - 13:44:31 EST


Here's my .htaccess file... this file does work in subdirectories of htdocs/
but not of cgi-bin/
----------------------------------------------------------
AuthName "Blah blah blah"
AuthType Basic
AuthUserFile /var/lib/apache/htpasswd

require valid-user
----------------------------------------------------------
I guess I'll look into the Apache documentation further.

- Drew

Brian Carp wrote:

> Drew,
> Here's an .htaccess file from one of my cgi-bin directories that works
> with authentication:
>
> AuthUserFile /usr/webstuff/share/.htpasswd
> AuthName "authorized users"
> AuthType Basic
>
> require user aam26
>
> Of course that stuff (which I made up) is particular to the system and web
> services running on it; aam26 would be the only user allowed to access
> that directory, the password would get checked against the system file.
>
> -Carp



This archive was generated by hypermail 2b29 : Wed Apr 27 2005 - 03:30:03 EDT