Re: CGI program cannot access database

Поиск
Список
Период
Сортировка
От Samik Raychaudhuri
Тема Re: CGI program cannot access database
Дата
Msg-id 4166D43D.7040401@freeshell.org
обсуждение исходный текст
Ответ на CGI program cannot access database  (Samik Raychaudhuri <samik@freeshell.org>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Patrick Hatcher
Дата:
Сообщение: Explain output question
Следующее
От: Samik Raychaudhuri
Дата:
Сообщение: Re: CGI program cannot access database