httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hwee Khoon, Neo" <hweekhoon....@pacific.net.sg>
Subject [users@httpd] How to pass user ID from Basic Auth windows to cgi script?
Date Mon, 07 Feb 2005 04:19:33 GMT
HI All,


need advice on how Apache can pass the user ID from the authentication
pop-up to a cgi script (which resides in the protected directory).

Thanks.

Rgds,
HK

E.g. user clicks on abc.cgi which resides in
/usr/local/apache2/htdocs/mydoc/cgi2/

How can the user ID be passed onto the abc.cgi script?


<Directory "/usr/local/apache2/htdocs/mydoc/cgi2">
        AllowOverride None
        AuthType Basic
        AuthName "Restricted Access"
        AuthUserFile /usr/local/apache2/conf/mypasswords
        Require valid-user
</Directory>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message