I have had PHP 4.0.4pl1 and Apache 1.3.17 running for a while now and I can use
the php module as well as the cgi-bin executor (I built it twice). However,
I have multiple virtual servers running I want to be able to say that on one
of the servers, it should run all files with a .php suffix as a different user.
I can do this with the Apache setuid exec feature and the config directives:
User somebody
AddHandler cgi-script .cgi
DirectoryIndex index.html index.cgi
And then I the user must create files that are executable and start with:
#!/usr/local/it/bin/php
However, I would like to be able to make these run as the appropriate user
and not need execute permision (you try to explain to a PC users how to log
into a Unix system and use a command like "chmod 755 file").
Any ideas?
--
Gary Algier, WB2FWZ [EMAIL PROTECTED] +1 856 787 2758
Ulticom Inc., 1020 Briggs Rd, Mt. Laurel, NJ 08054 Fax:+1 856 866 2033
A self-addressed envelope would be addressed "envelope."
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]