• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Mailman and SuExec.

B

ban520

Guest
Mailman doesnt seem to work on Plesk 7.5.3 with FC2.

After some research time I found that there are logically incompatible

configuration directivres:



1. httpd uses SUEXEC to improve security between different CGI scripts of

different users. More about this feature: http://httpd.apache.org/docs/2.0/

suexec.html


2. Suexec have hard-coded variable named 'docroot' where all cgi-scripts must be

placed in.


3. Apparently, PSA installed Mailman cgi-bin files outside of Suexec 'docroot',

this creates this problem can be seen in error log file:


==== /home/httpd/vhosts/domain.us/statistics/logs/error_log =====

[Fri Jul 29 07:14:31 2005] [error] [client 217.144.68.77] Premature end of

script headers: admin

==================================================================


more detailed information can be seen here:



=== /var/log/httpd/suexec_log ===================================

[2005-07-29 07:14:31]: uid: (10001/fawcett) gid: (10001/10001) cmd: admin

[2005-07-29 07:14:31]: command not in docroot (/var/mailman/cgi-bin/admin)



Do you see: PSA installs files to /var/mailman, and this does not match

'docroot' setting which _compiled in_ to suexec.



Anyone have any suggestions?

Thanks.
 
Back
Top