Here is one way to do it in Apache.

"access.conf  "
<Directory /secure_directory/cgi-bin>
AllowOverride None
Options ExecCGI
AuthType Basic
AuthUserFile /etc/some_http_password_file"
AuthName Administration
<LIMIT GET POST PUT>
require valid-user
</LIMIT>
</Directory>

"srm.conf"
ScriptAlias /secure-cgi/ /secure_directory/cgi-bin/

use "htpasswd"  utility to create "some_http_password_file"

Need to restart Apache.



At 01:25 AM 5/1/00 +0800, you wrote:
>Guys,
>
>I placed my Bulletin Board Service on my Firewall.
>This BBS uses CGI scripts to start.
>How can I password protect this so that only my employees
>will see the BBS?
>
>-Edwin-
>
>-
>Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
>To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 
------------------------------------------
Raul N. Ocampo  
InfoBahn Communications, Inc.
Tel: (632)913-8888


-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to