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

Barry Warsaw barry at python.org
Sun Nov 12 03:54:28 CET 2006


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

On Nov 11, 2006, at 9:38 PM, Tokio Kikuchi wrote:

>> I'm not so sure about this change.  It breaks the ability to access
>> the web page urls by both the wsgi path and the apache ScriptAlias
>> path at the same time.  I've tried to make sure that worked because
>> it's pretty useful for debugging.
>
> Well, I was inclined to abolish ScriptAlias (CGI) method because of  
> SGUI
> complexities. ;-)

That's definitely another way to go.  OTOH, it's possible that folks  
will reverse proxy MM2.2 through the /mailman/ prefix, or possibly a  
totally different prefix, so I think we still need to support  
relative urls as much as possible.  But you might be right that it's  
unreasonable to continue to support CGI now that we have a better way  
to do it.

>> I understand that we'll need absolute paths in the email
>> notifications, and I've read the note about not exposing wsgi_app
>> interface to the internet.  I'm not sure I agree with the latter
>> though, and besides, I'd like us to be as flexible as possible for
>> wsgi integration.  I think we should try to find some other way to do
>> the email notification urls and keep GetScriptURL() returning
>> relative paths.
>>
> Like VirtualHostMonster in Zope?

Possibly something like it -- which I think ultimately boils down to  
encoding enough of the original url in a rewrite rule so that the  
back-end Mailman in this case can figure out how the front-end was  
accessed.  The only other alternative would be to hard code it in the  
config file I guess.

>> E.g. when I try to use r8090 via the Apache ScriptAlias path, I end
>> up getting three slashes between the host and the 'mailman' prefix.
>
> Oops, I'll try restore ScriptAlias.

Cool, thanks.  I may commit a few changes in this area, but I'll try  
not to mess you up too much ;).

- -Barry

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

iQCVAwUBRVaM5XEjvBPtnXfVAQKiDwP/XxPA/yi9MG+uewogi+pOH22U2L5iwBgq
WK9ZFsZxgLMxx3w11oHFemSVyzujqi+WMudqjahRzb7w4V8Chl1IxwUHf98F4zg/
rCZnSWfT3nfnTp02Pa9kC9DVTfLe1X/r9XjDnD+W7id2wQ7OrwGZ2VOa2n0Rdfqp
tpniGsxaYj4=
=NZu5
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list