suExec will only work with PHP running as CGI, not a Module.
You *CAN* have PHP in Apache "twice" with different extensions (.php and
.phpcgi) and corresponding mime-type (application/x-httpd-php and
application/x-httpd-phpcgi) and then the one site will have to use .phpcgi
for its files, or you could even do a ForceType or somesuch in httpd.conf to
make that site always use PHP CGI... Probably better to change the
extension of the specific single *page* that needs suExec, for performance
reasons.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Adam Plocher <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Friday, September 21, 2001 11:19 AM
Subject: Running virtualhosts under different users
> I realize this is more of an apache question, not a php question, but I
> thought you guys of all people, would be able to help me...
>
> I have an apache server setup, hosting a number of sites. I need one site
> to be ran under a different user so it can execute shell commands via
> system() under that user. Does anybody know how I can do this? I
installed
> the suexec module for apache, and either it doesn't work the way I need it
> to, or I just misconfigured it.
>
> I'm baffled, any information would be greatly appreciated.
>
> Thanks
> -Adam
>
--
PHP General 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]