On 06/12/2013 09:47 AM, Mark Sapiro wrote:
On 06/11/2013 04:04 PM, Patrick Barrett wrote:
I'm trying to setup mailman with nginx and fcgiwrap, but I'm getting 403
errors, well a page that is blank except for the number 403. I can
access some pages. I can see the listinfo page, the admin page, the
createlist page, and I can even create lists. But, I get the 403's when
I go to listinfo/<listname> and the like.

There is nothing in Mailman itself that sends a 403 status. What's in
your web server logs?


This seems to be an almost identical problem to
http://www.mail-archive.com/mailman-users@python.org/msg57843.html but I
have all the items in my config that that thread says needs to be there.

Except the problem there is the Mailman CGI was actually invoked but not
given all the needed info in the environment. Your problem seems to be
that the web server doesn't even run the CGI script but gives a 403 instead.
Wouldn't the CGI have to be getting invoked for me to be able to successfully be able to create new lists?

The log comes back with:
2013/06/12 10:36:19 [error] 6020#0: *347 FastCGI sent in stderr: "Cannot chdir to script directory (/usr/lib/cgi-bin/mailman/listinfo)" while reading response header from upstream, client: <myip>, server: lists.example.org, request: "GET /mailman/listinfo/listname HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket:", host: "lists.example.org", referrer: "https://lists.example.org/mailman/listinfo";

That sounds to me like it's trying to cd into the executable. Just in case I'm wrong this is the directory's permissions:
patrick@helium:/usr/lib/cgi-bin/mailman$ ls -ld
drwxr-xr-x 2 root list 4096 Jun 11 20:42 .

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to