#1  
Old 25th March 2010, 16:13
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 166
Thanks: 14
Thanked 15 Times in 10 Posts
Default mpm-itk + suexec + php-cgi

I run mpm-itk with mod_php and it works great. I client requested that his site is run under php-cgi instead of mod_php which I enabled but get the following error message:

ERROR 500 - Internal Server Error!

and apache error.log shows:
Code:
suexec policy violation: see suexec log for more details, referer: http://www.xxxxxx.com/stranica/situacija
Premature end of script headers: php-cgi-starter, referer: http://www.xxxx.com/stranica/situacija
so I did following:

Code:
# ls -all /usr/lib/apache2/suexec
-rwsr-xr-- 1 root www-data 13392 Nov 14 22:09 /usr/lib/apache2/suexec
# chown www-data.www-data /usr/lib/apache2/suexec
# chmod 4755 /usr/lib/apache2/suexec
the I restarted apache and the site started working. Great, but now I get following errors when I restart apache:

Code:
# /etc/init.d/apache2 restart
Restarting web server: apache2Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
 ... waiting Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Any ideas?

These messages go away when I undo the changes:
Code:
# chown root.www-data /usr/lib/apache2/suexec
# chmod 4755 /usr/lib/apache2/suexec
p.s. did anyone try out http://packages.debian.org/lenny/apache2-suexec-custom ???

Last edited by grungy; 25th March 2010 at 16:17.
Reply With Quote
Sponsored Links
  #2  
Old 25th March 2010, 21:02
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

As far as I know, mpm-itk is not really compatible with the other php methods except of mod_php.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th March 2010, 22:17
grungy grungy is offline
Senior Member
 
Join Date: Dec 2008
Posts: 166
Thanks: 14
Thanked 15 Times in 10 Posts
 
Default

All I am saying is that PHP as CGI works with mpm-itk but I get the following message
Code:
arning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/home ad symlink after rsync run DreamK General 4 8th March 2010 12:44
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 16:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.