Re: [HACKERS] CGI with lilbpq - Mailing list pgsql-hackers

From Vince Vielhaber
Subject Re: [HACKERS] CGI with lilbpq
Date
Msg-id Pine.HPP.3.94.980605125524.14221G-100000@cinnamon.michvhf.com
Whole thread Raw
In response to CGI with lilbpq  ("ADM. Diego Cueva" <dcueva@fenix.sis.epn.edu.ec>)
List pgsql-hackers
On Sat, 6 Jun 1998, ADM. Diego Cueva wrote:

>
> Hi Everybody.
>
> I have problems with my CGI programs in C.
> When i execute the CGI, the message "Internal Server Error" is displayed
> in the browser.
> This error only ocurr when i compile the programs using -lpq
>
> Exist documentation about this ?

Make sure the web user (whatever user the web server runs as) has access
to the database and table.  It needs to at least be able to select.

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null
       # include <std/disclaimers.h>                   TEAM-OS2
   Online Searchable Campground Listings    http://www.camping-usa.com
              "I'm just not a fan of promoting stupidity!
            We have elected officials for that job!" -- Rock
==========================================================================




pgsql-hackers by date:

Previous
From: "ADM. Diego Cueva"
Date:
Subject: CGI with lilbpq
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] keeping track of connections