RE: Apache + PHP as CGI?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx]
Verzonden: maandag 12 maart 2007 12:48
Aan: users@xxxxxxxxxxxxxxxx
Onderwerp: 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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux