UID on APACHE ..

From: Date: Thu, 09 Jan 2003 21:19:36 +0000
Subject: UID on APACHE ..
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12200@lists.php.net to get a copy of this message
Hi Peoples, I have a BIG problem, In my WebServer, running Apache and PHP as Module, I have many diferents VirtualHost. Each VirtualHost running under a diferent user with suexec. But, the users call fails when they try to use functions to manipulate files/directories, I think this is happening because the PHP are calling the function as the general Apache user, and not the VirtualHost user .. I really appreciate if you have any clue to avoid this behavior ... Thanks. - Alexandre ... Port 80 User httpd Group www ... <VirtualHost *> User xyz Group sites ServerName www.xyz.com DocumentRoot /home/httpd/sites/xyz php_admin_flag safe_mode On php_admin_value doc_root "/home/httpd/sites/xyz" php_admin_value open_basedir "/home/httpd/sites/xyz:/tmp/" php_admin_value safe_mode_exec_dir "/home/httpd/sites/xyz/bin" CustomLog /home/httpd/logs/xyz/access_log common ScriptAlias /cgi-bin /home/httpd/sites/xyz/cgi-bin </VirtualHost>

« previous php.pear.dev (#12200) next »