homepage Welcome to WebmasterWorld Guest from 54.211.95.201
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved