| From: | Samik Raychaudhuri <samik(at)freeshell(dot)org> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Cc: | boekhold(at)emirates(dot)net(dot)ae, sklassen(at)commandprompt(dot)com, mike(at)fuhr(dot)org |
| Subject: | Re: CGI program cannot access database |
| Date: | 2004-10-08 17:54:05 |
| Message-ID: | 4166D43D.7040401@freeshell.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
I solved the problem, getting hints from Maarten. This is for posterity.
I looked at this thread:
http://www.cygwin.com/ml/cygwin/2004-09/msg01159.html
This thread (as well as Maarten) suggests to set/pass SYSTEMROOT
environment variable in Apache. I didn't know how to do that, googling
helped. This is what I did:
I added the following lines in httpd.conf
<IfModule mod_env.c>
PassEnv SYSTEMROOT
</IfModule>
Scripts are running fine now.
References:
1. http://httpd.apache.org/docs/mod/mod_env.html#passenv
2. http://httpd.apache.org/docs/env.html
Thanks again to all who replied.
Regards,
-Samik
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Samik Raychaudhuri | 2004-10-08 17:56:43 | Re: CGI program cannot access database |
| Previous Message | Patrick Hatcher | 2004-10-08 17:23:26 | Explain output question |