Nginx fastcgi split path info with mailman

Posted by eyadof on Server Fault See other posts from Server Fault or by eyadof
Published on 2013-11-10T17:53:00Z Indexed on 2013/11/10 22:01 UTC
Read the original article Hit count: 277

Filed under:
|

i'm using mailman with nginx to get its web interface this my nginx config :

location /cgi-bin/mailman {
           root /usr/lib/;
           fastcgi_split_path_info (/cgi-bin/mailman[^/]*)/(.*)$;
           include /etc/nginx/fastcgi_params;
           fastcgi_param SCRIPT_FILENAME $fastcgi_script_name;
           fastcgi_param PATH_INFO $fastcgi_path_info;
           fastcgi_param PATH_TRANSLATED $fastcgi_path_info;
           fastcgi_intercept_errors on;
           fastcgi_pass unix:/var/run/fcgiwrap.socket;
    }

it's seems to work good when i call mydomain.com/cgi-bin/mailman/listinfo, but when I request something like : mydomain.com/cgi-bin/mailman/listinfo/mylist i get 403 and in nginx error log :

FastCGI sent in stderr: "Cannot chdir to script directory (/usr/lib/cgi-bin/mailman/listinfo)" while reading response header from upstream

I tried every regex available to get it work but it still give 403 any help or any clue to get it work .

© Server Fault or respective owner

Related posts about nginx

Related posts about mailman

  • Mailman Error / Cpanel

    as seen on Server Fault - Search for 'Server Fault'
    Mailman is giving off this error when any changes are made to the list: ======================= Bug in Mailman version 2.1.14 We're sorry, we hit a bug! Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly… >>> More

  • mailman web UI on localhost with apache2

    as seen on Server Fault - Search for 'Server Fault'
    I'm interested only in running mailman on localhost and would like access to the web interface, but am getting 404: root@dur:~# root@dur:~# ln -s /etc/mailman/apache.conf /etc/apache2/sites-enabled/mailman -v `/etc/apache2/sites-enabled/mailman' -> `/etc/mailman/apache.conf' root@dur:~# root@dur:~#… >>> More

  • File does not exist: /var/www/mailman

    as seen on Ask Ubuntu - Search for 'Ask Ubuntu'
    I'm following the guide for installing mailman: root@dur:~# root@dur:~# ln -s /etc/mailman/apache.conf /etc/apache2/sites-enabled/mailman -v `/etc/apache2/sites-enabled/mailman' -> `/etc/mailman/apache.conf' root@dur:~# root@dur:~# service apache2 restart * Restarting web server apache2 ... waiting… >>> More

  • MailMan error logging in Apache

    as seen on Server Fault - Search for 'Server Fault'
    I am working on a MailMan implementation using Fedora 12. I have it set up and running but I was looking at what happens if someone tries to brute force a password on the web GUI and found that MailMan doesn't log these errors at all or I'm completely looking in the wrong place. I have tried both… >>> More

  • MailMan moderator subscribe via email

    as seen on Server Fault - Search for 'Server Fault'
    I am setting up a MailMan list server and I am trying to find a way for moderators to subscribe users through email. We are only using the MailMan website for the administrators and need the moderators to be able to at least subscribe people and/or accept subscription requests from users. Is there… >>> More