[lug] postgres and apache

John Starkey jstarkey at advancecreations.com
Wed Oct 30 14:04:39 MST 2002


Try the SetEnv directive in apache.

http://httpd.apache.org/docs/mod/mod_env.html#setenv


John

On Wed, 2002-10-30 at 13:51, j davis wrote:
> 
> hello,
>   I just setup a postgres db that is web-enabled using
> perl and cgi. I plan on having several databases on the
> same box , each database for a different customer and
> each web-enabled using the same methods. I would like to passwd protect
> each customers data base and use the same user "apache" to access them
> all. I dont see how i can pass a passwd $var in my perl/cgi if its in
> cgi-bin and made world readable. Could i put this in user apaches
> enviorment vars some how?
> 
> sql-newwbie,
> jd
> 
> jd at taproot.bz           |  "MORE INPUT!"  |
> http://www.taproot.bz   |    Johnny 5     |
> 
> 
> 
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access. 
> http://resourcecenter.msn.com/access/plans/default.asp
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug




More information about the LUG mailing list