o-----------ooO--(- Important Message -)--Ooo------------o
| |
| SAVE BANDWITH, SPACE, TIME & MONEY, REPLY WITH PRUDENCE.|
| |
o----=[ Penguin @ My - Linux ([EMAIL PROTECTED]) ]=----o
...
> Assalamualaikum / Selamat Sejahtera
Selamat Sejahtera
>
> there are some configuration at apache httpd called "user"
> or User I'm not sure
>
> by default it write as "User nobody"
> that one is for the whole apache setting ,
> that mean all apache process run as 'nobody'
>
> lets say u have multiple virtualhost
> u can remove that by comenting using our hash (#)
> then specify each User for each virtual host
>
> make it simple, just change nobody to dba at
> /etc/httpd/conf/httpd.conf
> or where ever your conf file located.
>
> actually there are other method that can make it simple,
> may be i dont
> know and other ppl know . fyi, I'm not using php
oh, i've found the way. it's pretty easy, i just need to
tell my userid & passwd in the connect string, like:
@$conn = pg_pConnect("host=localhost dbname=mydb port=5432
user=dba password=uknowit");
change the apache user/ps owner doesn't solve the problem,
i think.
it's from the documentaion.
it's my fault. i didn't rt[fine]m properly. ;(
>
> Happy Chinese New Year.
thanks. ;)
>
> http://ikhlas.com
>
> On Wed, 19 Jan 2000, Woo Wai Kee wrote:
> >
> > i'm using php4+apache to serve as my front-end for my postgres database
> >
> > by default, when connect to the database, the user is "nobody" (thru my
> > the web).
> >
> > i need to change this to someone else, say "dba" when the user logged in
> > as "dba".
> > fyi, i've done my session code.
>
--
---~~===ooOO0==|Woo Wai Kee|==0OOoo===~~---
-
Disclaimer : http://users.my-linux.org/disclaimer.html