[Mailman-Developers] change in admin.py for Solaris 2.5.1 and Netscape Fasttrack 2.1 Server
Werner Frank
wfrank@syskonnect.de
Thu, 11 Mar 1999 15:42:02 +0100 (MET)
Hello,
while trying to run mailman-1.0b9 on Solaris 2.5.1 together with a
Netscape Fasttrack Server 2.1
I had to make the following change in $prefix/Mailman/Cgi/admin.py:
I changed line 129 from
"path" : os.environ.get("REQUEST_URI", defaulturi),
to
"path" : '/' + os.environ.get("REQUEST_URI", defaulturi),
The result is that in the Web Page for the Administrative Authentication
where you enter the password of the list administrator,
the HTML code now reads:
</head> <body bgcolor="#ffffff"> <FORM METHOD=POST
ACTION="/mailman/admin/mailmantest">
instead of
</head> <body bgcolor="#ffffff"> <FORM METHOD=POST
ACTION="mailman/admin/mailmantest">
Obviously the Fasttrack Server must be told that this is an absolute path
otherwise the following URL will be set to something like
http://server/mailman/admin/mailman/admin/mailmantest
which can't be treated correctly.
May be it's not the best solution but now it works.
werner frank
wfrank@syskonnect.de