
June 5th, 2009, 03:38 AM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 1
Time spent in forums: 15 m 55 sec
Reputation Power: 0
|
|
|
SUExec is not working
I've built my rpm of apache.src.rpm 2.2.3-22 that supports SuExec, but with my configuration my php scripts are not running with user and group that I except, then in folders with 755 permission and right owner but php can't create file or even write on existing files.
here is my virtualhost's configuration:
Code:
Code:
<VirtualHost 123.123.123.123:80>
SuexecUserGroup "#507" "#508"
ServerName mydomain.com
ServerAlias www.mydomain.com
ServerAlias webmail.mydomain.com
ServerAlias admin.mydomain.com
DocumentRoot /home/mydomain/public_html
ErrorLog /var/log/virtualmin/mydomain.com_error_log
CustomLog /var/log/virtualmin/mydomain.com_access_log combined
ScriptAlias /cgi-bin/ /home/mydomain/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/mydomain/public_html>
Options -Indexes IncludesNOEXEC FollowSymLinks
allow from all
AllowOverride All
</Directory>
<Directory /home/mydomain/cgi-bin>
allow from all
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.mydomain.com
RewriteRule ^(.*) http://mydomain.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.mydomain.com
RewriteRule ^(.*) https://mydomain.com:10000/ [R]
</VirtualHost>
Do i've some misconfiguration issue if not then what's the cause of this behavior?
|