[plt-scheme] web server directories

From: Bradd W. Szonye (bradd+plt at szonye.com)
Date: Fri Sep 24 12:04:31 EDT 2004

> Jordan Johnson wrote:
>> I think I already know the answer to this one, but before I go through 
>> with setting up the whole deal, I'd like to be sure:  if I'm handling 
>> user logins through Apache's .htaccess, will the username given to 
>> Apache be available to the PLT server via extract-user/pass?

Jens Axel Søgaard wrote:
> Maybe, I haven't tried .... I don't know in details how Apache handles
> the username and password, but if they are present in the http
> headers, then there is no problems.

Apache follows the usual CGI rules; see

It passes the remote user ID in the "REMOTE_USER" environment variable.
I don't know how the PLT server processes that, but scripts should be
able to access it through the environment interface at the very least.

As far as I know, the server does not provide access to the user's
password, only to the authenticated ID.
Bradd W. Szonye

Posted on the users mailing list.