| pwd protecting a sub-dir in cgi-bin
|
Frank_Rizzo

msg:909194 | 6:55 pm on Oct 21, 2002 (gmt 0) | How do I password protect a sub dir in cgi-bin? I can password protect any sub dir in public_html, but not cgi-bin. I guess there is some setting in apache which is preventing password protection in that directory? Cheers.
|
littleman

msg:909195 | 7:45 pm on Oct 21, 2002 (gmt 0) | Open up your httpd.conf file and something that looks like this: <Directory "/path/to/cgi-bin"> AllowOverride None other stuff here </Directory> Then modify it to something like this: <Directory "/path/to/cgi-bin"> AllowOverride AuthConfig Limit other stuff here </Directory> Then restart apache and it should work.
|
Frank_Rizzo

msg:909196 | 4:14 pm on Oct 22, 2002 (gmt 0) | That did the trick. Cheers.
|
|
|