Re: Virtualhosts, SetEnv and initial-env
"Vetle Roeim" <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
On 8/18/07, Vetle Roeim <[email protected]> wrote: > Hi, > > I'm having some issues with the combination of Apache, fastcgi, web.py > and setting environment variables per virtual hosts. Basically it's > not working at all, which is probably because I'm not understanding > how it should work, but perhaps you can help me to figure out how I > can achieve what I want to do. > > The idea is that each virtual host needs a separate config file, which > is read in the python code. This is to enable a single server to serve > different web sites, and the configuration filename does not have to > be hardcoded in the code. Well, what I ended up doing, was to get the current working directory in the code, and having the code look for a config file in a directory further up. This works, although I'd prefer setting it in the virtual host config... [...] -- Vetle Roeim ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/