httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan van den Berg" <jan.vandenb...@isp.solcon.nl>
Subject RE: [users@httpd] Apache + PHP as CGI?!
Date Mon, 12 Mar 2007 12:43:22 GMT
In your VH or in your global config:

 

        AddHandler php .php

        Action php /path/to/your/cgi-bin/php

 

Jan

________________________________

Van: Norbert Wachnicki [mailto:nwachnicki@post.pl] 
Verzonden: maandag 12 maart 2007 12:48
Aan: users@httpd.apache.org
Onderwerp: [users@httpd] Apache + PHP as CGI?!

 

Dear Subscribers, 

 

 

I am going to configure apache with PHP, 

but I need that scripts  in users directory was run with users rights, 

I know that I can do this with suexec and CGI, but I DON'T want to add
#/usr/pin/php line at the begining of each file.

 

Maybe You have any suggestions how to do this

 

 

Regards, 

Norbul


Mime
View raw message