agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Bruce Korb <bkorb@admin.mport.com>
To: Alex Shum <shum@cs.und.nodak.edu>
To: postgres@postgres.Berkeley.EDU
Subject: Interfacing postgres with WWW (fwd)
Date: Thu, 26 Oct 95 15:01:43 PDT
Message-ID: <309005490.d82@admin.mport.com> (raw)
In Alex Shum's message:
> Hi,
>
> Just curious if anyone has successfully written a CGI program interfacing
> postgres with the web. I tried both pgtclsh and libpq and both of them
> result in a server error while trying to connect to the backend. Also,
> please let me know if you are able to compile pgperl5 and have it work
> with WDB. Any help in this area will be very appreciated.
>
> Thanks.
There is no magic to cgi. The http process runs as some sort of
user. ("root", or "nobody", or somebody else) This user must
have read and maybe write permission for the DB in question.
Works fine for me (http://www.mport.com/vendors.html - everything
under that grabs data from a postgres database).
--
Bruce Korb | Microport, Inc.
bkorb@mport.com | 108 Whispering Pines Dr.
(408) 438-8649 | Scotts Valley, CA 95066
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: bkorb@admin.mport.com, shum@cs.und.nodak.edu
Subject: Re: Interfacing postgres with WWW (fwd)
In-Reply-To: <309005490.d82@admin.mport.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox