note 17190 added to security.apache
| From: | sdj at riled dot net | Date: | Thu, 29 Nov 2001 05:26:57 +0000 |
| Subject: | note 17190 added to security.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-21414@lists.php.net to get a copy of this message | ||
I've found that configuring Apache with
suEXEC+mod_php and then using the User
and Group directives in each
<VirtualHost> that the permissions are
switched to the appropriate user for
CGI _AND_ anything running under
mod_php.
To test it just execute the unix 'id'
command from your php script and
display the output to the browser,
you'll see that it is working.
--
http://www.php.net/manual/en/security.apache.php
http://master.php.net/manage/user-notes.php?action=edit+17190
http://master.php.net/manage/user-notes.php?action=delete+17190
http://master.php.net/manage/user-notes.php?action=reject+17190