>From: liangbin li [mailto:[EMAIL PROTECTED]] > >I install apache httpd server with mod_ssl. I broswer a access >controled >html file and it calls a programm under cgi-bin directory.
Is this what you want to happen? >I want to know how I can set up access control with in the cgi-bin's >programm? Real access control is done at the server level (HTTP protocol), i.e. a layer below the application like CGI. So you can't control HTTP authentication from CGI. You could use a CGI form to authenticate users and then serve them the CGI output (i.e. have the CGI process all data going to the user). This is a bit laborious and involves writing a mini-webserver in CGI... What's wrong with the built-in authentication scheme? Rgds, Owen Boyle ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]