View Single Post
  #4  
Old 3rd December 2012, 12:59
lollollollol lollollollol is offline
Member
 
Join Date: Nov 2011
Location: Madagascar
Posts: 44
Thanks: 7
Thanked 6 Times in 5 Posts
Default

Hi Till,
Thank you very much for putting me on the right path, this is actually the configuration of the suphp module that was a problem in apache. Your mastery is impressive!

Here is the suphp configuration in Wheezy (Debian 7) 0.7.1-3:
Code:
<IfModule mod_suphp.c>
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler application/x-httpd-suphp
    </FilesMatch>
       suPHP_AddHandler application/x-httpd-suphp

    <Directory />
        suPHP_Engine on
    </Directory>

    # By default, disable suPHP for debian packaged web applications as files
    # are owned by root and cannot be executed by suPHP because of min_uid.
    <Directory /usr/share>
        suPHP_Engine off
    </Directory>

# # Use a specific php config file (a dir which contains a php.ini file)
#       suPHP_ConfigPath /etc/php5/cgi/suphp/
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
#       suPHP_RemoveHandler <mime-type>
</IfModule>
And the suphp configuration in Debian Squeeze 0.7.1-1:
Code:
<IfModule mod_suphp.c>
        AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
        suPHP_AddHandler application/x-httpd-suphp

    <Directory />
        suPHP_Engine on
    </Directory>

    # By default, disable suPHP for debian packaged web applications as files
    # are owned by root and cannot be executed by suPHP because of min_uid.
    <Directory /usr/share>
        suPHP_Engine off
    </Directory>

# # Use a specific php config file (a dir which contains a php.ini file)
#       suPHP_ConfigPath /etc/php4/cgi/suphp/
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
#       suPHP_RemoveHandler <mime-type>
</IfModule>
I first copied the suphp.conf Squeeze on my Wheezy. And it worked. But as it is not very "clean", I downgraded libapache2-mod-suphp. Everything is back in order.

I think we need to think about it when Wheezy will becomes stable...

For the SimplePie_Misc problem:
Quote:
Originally Posted by till
Which ispconfig version do you use?
Quote:
Originally Posted by lollollollol
ISPConfig-3.0.4.6
Thank you in advance.
Reply With Quote