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 <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to