suExec problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




 Hello,

I have a SuSe 9.3 server, with apache version 2.0.53 and suexec configured. It was working for months. One day, it stopped working for ALL virtual hosts. I might have misconfigured something, but I'm not sure what is the problem. When I start up apache, I see this in the error_log:

[Fri May 12 11:48:40 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Fri May 12 11:48:40 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
Destroying config 0x80f0c08
Creating new config (0x80f4ea8) for (null)
[Fri May 12 11:48:40 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations

So probably the suexec binary is okay. Then I go to one of my virtual hosts, and execute phpinfo(). That says I'm using the mod_php version. There are no more error messages in apache error log neither in suexec.log.

Here is my suexec config:

dybs1 /home/nagylzs# suexec2 -V
-D AP_DOC_ROOT="/srv/www"
-D AP_GID_MIN=96
-D AP_HTTPD_USER="wwwrun"
-D AP_LOG_EXEC="/var/log/apache2/suexec.log"
-D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
-D AP_UID_MIN=96
-D AP_USERDIR_SUFFIX="public_html"

Here is a virtual host:

<VirtualHost *:80>
   ServerName joomla.dynabit.hu
   DocumentRoot /srv/www/vhosts/ddyb04/joomla.dynabit.hu
   ErrorLog /var/log/apache2/joomla-dynabit-error_log
   CustomLog /var/log/apache2/joomla-dynabit-access_log combined
   UseCanonicalName Off
   ServerSignature On

   ScriptAlias /php/ "/srv/www/vhosts/ddyb04/joomla.dynabit.hu/cgi-bin/"
   Action application/x-httpd-php "/php/php5"

   DirectoryIndex index.html index.htm index.php

   SuexecUserGroup ddyb04 users

   <Directory "/srv/www/vhosts/ddyb04/joomla.dynabit.hu/cgi-bin">
       Options ExecCGI FollowSymLinks
       AllowOverride None
       Order allow,deny
       Allow from all
   </Directory>

   <Directory "/srv/www/vhosts/ddyb04/joomla.dynabit.hu">
       Options Indexes FollowSymLinks
       AllowOverride FileInfo
       Order allow,deny
       Allow from all
   </Directory>
</VirtualHost>


Do you have any ideas? Why it is not working? Why can't I see the error in the logs?

Thanks,

   Laszlo

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux