[Mailman-Users] nginx + fcgiwrap, web interface problems
Mark Sapiro
mark at msapiro.net
Wed Sep 15 18:54:29 CEST 2010
Jon Evans wrote:
>
>http://domain.com/mailman/list-name/admin
The standard URL is http://domain.com/mailman/admin/list-name and
PATH_INFO should be just /list-name in this case
If you are doing some mapping/rewriting so that the list name can
precede the CGI name in your URLs, that may be where the problem lies
>I got rid of the cgi-bin part of the URL, and modified mm_cfg.py to reflect
>that change.
The cgi-bin part is non-standard in GNU Mailman, Are you using someones
package?
>The Mailman-generated links on the page also reflect that.
> And yes, the Mailman CGI's are (symlinked) in /usr/lib/cgi-bin/mailman/.
>
>Is there anything abnormal about them other than the location of the CGIs on
>my system?
The major abnormality is your URL. Are you sure your URL's are like the
one above? If so, What have you done to make the URLs in links on
Mailman's web pages take that form?
What happens if you put the following in
/usr/lib/cgi-bin/mailman/printenv and go to
<http://domain.com/mailman/printenv/aa/bb/cc>?
-------------------------------------------------------------
#!/usr/bin/python
import os
print 'Content-type: text/html'
print
print '<HTML><HEAD><TITLE>Print Environment</TITLE></HEAD><BODY>'
for n,v in os.environ.items():
print '%s: %s<br>' % (n,v)
print ' </BODY> </HTML>'
--------------------------------------------------------------
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list