[Mailman-Developers] BUGS: URL vs file pathnames

Greg Stein gstein@lyra.org
Mon, 09 Nov 1998 12:59:37 -0800


Scott wrote:
> On Sun, Nov 08, 1998 at 08:36:05PM -0800, Greg Stein wrote:
> | Hello...
> |
> | There are a number of obsolete files in the distribution. Should be
> | torched.
> |   Mailman/Archiver.py
> |   Mailman/pipermail.py
> |   Mailman/HyperArch.py
> |   Mailman/HyperDatabase.py
> |
> 
> running "make update" from the source should delete these.
> they're no longer in the source tree (at this location) either.

Euh... I installed from scratch. Those files are in the tarball and/or
install script (not left over from an updated install area). That just
seems wrong.

> ...
> | Finally: Archiver/Archiver.py:122 should have a trailing "/" on the
> | public archive URL. The trailing slash prevents an internal redirection
> | in Apache -- this screws me because it switches the hostname from a
> | CNAME to the "real" hostname.
> 
> What sort of internal redirection?

If you send a request for a directory to Apache without a trailing "/",
then it will append the "/" and do an "internal redirect". The result of
this is that the browser will update the URL that it displays to the
internal-redirect location. In my case, it lost the CNAME hostname and
picked up the true name (undesirable). By appending the "/" on there, it
doesn't do the redirect and everything is hunky-dory.

Heck, you could also argue that the patch is for improving web server
performance :-)

Cheers,
-g

--
Greg Stein, http://www.lyra.org/