Closed Thread Icon

Preserved Topic: Apache, specific directory, PHP as different user Pages that link to <a href="https://ozoneasylum.com/backlink?for=21198" title="Pages that link to Preserved Topic: Apache, specific directory, PHP as different user" rel="nofollow" >Preserved Topic: Apache, specific directory, PHP as different user\

 
Author Thread
lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 04-17-2002 10:31

Is it possible to tell apache to run PHP as user X in group Y in a directory Z ?

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-17-2002 10:58

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 04-17-2002 11:44

Ini, I believe there is a method!

I'm not into Apache too......

But I saw a case when an authorization box pops up, you then enter your username/pass and the PHP scripts will be run as having same power as the authorized user.


InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-17-2002 16:39

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 04-17-2002 22:26

When PHP runs as Apache module there's absolutely no way to change the user/group that it will run as (it will run as the same user/group as Apache). If you want to change the user/group that it runs as, you must run PHP as CGI, and then use suEXEC or cgiwrap to control how scripts execute...


InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 04-17-2002 22:37

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu