Calling regex geeks!
Sep. 12th, 2004 11:02 amI need to tell Apache on newmoon to redirect all web hits over to lodestone--except that I want to allow any hits to newmoon that invoke the Mailman web UI to come on through.
I already have a RedirectMatch line that redirects anything of the form murkworks.net/~username. But I want to redirect anything in the Document Root, and NOT direct anything of the form murkworks.net/mailman/whatever.
Does anyone have any brilliant suggestions as to a regular expression I can feed the Apache config file to make it redirect anything that ISN'T murkworks.net/mailman/whatever? I tried a negative lookahead assertion, but when I try to restart apache, it bitches about not being able to compile the expression.
I already have a RedirectMatch line that redirects anything of the form murkworks.net/~username. But I want to redirect anything in the Document Root, and NOT direct anything of the form murkworks.net/mailman/whatever.
Does anyone have any brilliant suggestions as to a regular expression I can feed the Apache config file to make it redirect anything that ISN'T murkworks.net/mailman/whatever? I tried a negative lookahead assertion, but when I try to restart apache, it bitches about not being able to compile the expression.