[Mailman-Users] Internal Server Error

Carl Parsons carl.parsons at pingnu.com
Wed Oct 21 11:50:45 CEST 2009


hi

I rebuilt suexec so docroot is

-bash-3.2# suexec -V
 -D AP_DOC_ROOT="/home"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="apache"
 -D AP_LOG_EXEC="/var/log/httpd/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=500
 -D AP_USERDIR_SUFFIX="public_html"

created a directory /home/mailman to put the cgi-bin files copying from 
/usr/lib/mailman/cgi-bin to
/home/mailman/cgi-bin

#
#  httpd configuration settings for use with mailman.
#

#ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
ScriptAlias /mailman/ /home/mailman/cgi-bin/
<Directory /home/mailman/cgi-bin/>
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
</Directory>


Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /var/lib/mailman/archives/public>
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

# Uncomment the following line, replacing www.example.com with your server's
# name, to redirect queries to /mailman to the listinfo page (recommended).

RedirectMatch ^/mailman[/]*$ http://www.mysite.com/mailman/listinfo

error log
[Wed Oct 21 10:39:42 2009] [error] [client 81.178.1.21] suexec policy 
violation: see suexec log for more details
[Wed Oct 21 10:39:42 2009] [error] [client 81.178.1.21] Premature end of 
script headers: listinfo


suexec.log
[2009-10-21 10:32:43]: uid: (505/mysite.com) gid: (505/mysite) cmd: listinfo
[2009-10-21 10:32:43]: target uid/gid (505/505) mismatch with directory 
(0/41) or program (0/41)

When http is at mysite.com it executes as user mysite.

Just realised I was looking at the wrong apache error file errors are in 
per site file mysite_error.log

I have tried to put the suexec back to Fedora 10 version but it still fails

Carl


PS error


  Internal Server Error

The server encountered an internal error or misconfiguration and was 
unable to complete your request.

Please contact the server administrator, root at localhost and inform them 
of the time the error occurred, and anything you might have done that 
may have caused the error.

More information about this error may be available in the server error log.



Adam McGreggor wrote:
> On Sun, Oct 11, 2009 at 11:09:30AM +0100, Carl Parsons wrote:
>   
>> Hi
>>
>> We have been trying to get mailman working on a fedora 10 installation
>> I can get it working on a internal server but my external server gives 
>> the following error.
>> I use webmin which places virtual servers in /home so I had to recompile 
>> suexec to work in a different root
>>     
>
> I'd not be using webmin, for a start.
>
>   
>> I suspect this is the problem but do not understand suexec configuration 
>> enough to fix the error
>>
>> Internal Server Error
>>
>> The server encountered an internal error or misconfiguration and was 
>> unable to complete your request.
>>
>> Please contact the server administrator, root at localhost and inform them 
>> of the time the error occurred, and anything you might have done that 
>> may have caused the error.
>>
>> More information about this error may be available in the server error log.
>>     
>
> So, what's in the Apache Error Log?
>
>   


-- 
Carl Parsons

Director
PinGNU Systems Ltd
A company registered in England and Wales
Registered office: 6 Flackdale Road, Hilton, Cambs, PE28 9NY
Registered company number: 4176338
Landline: 01480 831607
Mobile  07709 935666
Email: carl.parsons at pingnu.com
_______

 <http://www.pingnu.co.uk/> Home Office IT Support



More information about the Mailman-Users mailing list