[Mailman-Users] How to change the URL of Mailman web interface
Mark Sapiro
msapiro at value.net
Fri Mar 16 06:48:03 CET 2007
Wei Yu wrote:
>
>The default url of Mailman is /mailman/. But I want to change it to some
>/q/mailman/.
>Unfortunately, /q/ is mapped by using "ScriptAlias", it means that
>"ScriptAlias /q/mailman/" will be overrided by /q/.
>I tried to make a symbol link to the mailman cgi-bin directory under /q/ but
>mailman failed to work.
This is really a question about your web server, not Mailman, but
assuming Apache, you might be able to do this as follows:
Assume your existing ScriptAlias /q/ is
ScriptAlias /q/ /path/to/q/cgi-bin/
You could change it to
ScriptAliasMatch /q/(?!mailman/)(.*) /path/to/q/cgi-bin/$1
If Apache recognizes that negative lookahead assertion (and I'm not
sure it does), this will do the same as the original except for
/q/mailman/. Then you can add your "ScriptAlias /q/mailman/" and it
won't be preempted by "ScriptAlias /q/".
--
Mark Sapiro <msapiro at value.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