homepage Welcome to WebmasterWorld Guest from 107.22.37.143
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved