httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Environment problems CGI-scripts
Date Thu, 06 Nov 2003 16:33:45 GMT

On Thu, 6 Nov 2003 carl-johan.bergstrom@folksam.se wrote:
> Question:
> We have set up an environment with virtualhosts, each user has it's own
> httpd.conf file.

So you have a separate instance of httpd running for each user?  We don't
usually call that "virtual hosts", although I suppose it is from a
hardware standpoint.

>
> The problem I'm facing is that I don't get the users environment passed.
>
> When I'm trying to run cgi-scripts as a user, I will get the environment
> variables (path, username)
> from the last started http process.
>
> I've searched on google, and earlier there seems to have been a variable
> SetEnv, PassEnv where you could set the
> environment per user, right? How do I do this today?

Have you looked at the documentation?

>
> Basiclly my question is, how do I set like a ".profile" per user to be used
> for cgi-scripts, when using
> virtual hosts?

See:
http://httpd.apache.org/docs-2.0/env.html

Joshua.

---------------------------------------------------------------------
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