In your VH or in your global config:

 

        AddHandler php .php

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

 

Jan

________________________________

Van: Norbert Wachnicki [mailto:[EMAIL PROTECTED] 
Verzonden: maandag 12 maart 2007 12:48
Aan: users@httpd.apache.org
Onderwerp: [EMAIL PROTECTED] 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

Reply via email to