1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Mailman and SuExec.

Discussion in 'Plesk for Linux - 8.x and Older' started by ban520, Aug 1, 2005.

  1. ban520

    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/


    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] 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?

  2. hardweb

    hardweb Guest

    They work very well, you must rethink the logic :)