[Mailman-Developers] [Mailman-checkins] SF.net SVN: mailman: [8090] trunk/mailman/Mailman

Barry Warsaw barry at python.org
Fri Nov 17 05:49:52 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Nov 13, 2006, at 7:53 AM, Tokio Kikuchi wrote:

> I was wrong in writing wsgi_app.py at SCRIPT_NAME CGI environment
> variable.  It was not merely the name of the script but the script  
> path.
>
> Now the script can be accessed by /listinfo, /mailman/listinfo, or  
> even
> /mailman/blah/listinfo etc. etc.  You can now write httpd.conf like  
> so:
> ProxyPass /mailman/ http://localhost:2580/mailman/
>
> By this, we can use the same SCRIPT_NAME (or script path) for both  
> wsgi
> backend and apache frontend.  We might be able to get rid of the
> HTTP_REFERER and '../' things from our code but I've only checked in
> thus far.
>
> Please check and test it.

I haven't tested getting rid of HTTP_REFERER either, but what you  
checked in appears to work great from both wsgi and ScriptAlias.   
Thanks!

- -barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRV0/cHEjvBPtnXfVAQIj2QP/dwES+GVgSqotSlL9ewnfm9IP/tl9QGH2
kbSOFrUVVJTo0MI410xtl0bHyv+ZL5ykZeuVKtRghBtRQPe5eXOEv39fs6AEEQRO
/qgdbumJhzkkrY+L00JFKwxi/j5UmdKNYTnECuKKLpKzIL4UTRoN/BOyhh4t/rzN
rx8RH/X6+OY=
=jlWc
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list