[users@httpd] Running PHP as CGI without Shebang

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

 



Hi

I've managed to configure my vhosts to run PHP as CGI without the need for a Shebang and 755 permissions on PHP script files. The only problem, a big problem in my opinion, is that i need to create a cgi-bin directory in each vhosts web root directory and place a copy of the php binary interpreter file in that directory. I do this because the users are not allowed to execute things outside of their web root directory. I would like to know other possible solutions to this that don't require me to keep a large file in every users directory which not only adds to that users file system quota but also is at risk of being removed or altered by the user herself.

Thank you in advance for any help. I would love it if you could share your experiences of multiple solutions to this, even if they, in your opinions, have flaws.
--



Med vänliga hälsningar

Stefan Midjich aka nocturnal
[Swehack] http://swehack.se


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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