Web Servers on Unix and Linux - Apache RewriteRule and LocationMatch

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Unix and Linux > March 2007 > Apache RewriteRule and LocationMatch





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache RewriteRule and LocationMatch
fsoria@gmail.com

2007-03-01, 7:14 pm

I am currently looking at apache configuration file that is using both
LocationMatch (for a weblogic plug-in) and RewriteRules to proxy/
forward request.

Is there an order or precendence when the RewriteRule or LocationMatch
trigger?

I need to be able to retain the current RewriteRules, but anything
else gets matched by LocationMatch and sent to the weblogic server.

fsoria@gmail.com

2007-03-06, 1:18 pm

Note sure if we are talking about the same thing...

I inherited this configuration file, the issue is I need some rewrite
rules to run before the location match. So if a rule does not
activate, then it falls through to location match and directs it to
weblogic server.

I need to understand if the rewrite rules will run before location
match if order before.

thanks


On Mar 2, 3:49 am, Nick Kew <n...@grimnir.webthing.com> wrote:
> On 1 Mar 2007 12:17:07 -0800
>
> fso...@gmail.com wrote:
>
>
> Yes. Rewriterules at top level work like mod_alias, whereas inside
> a <Location>/etc container they obviously apply only after the
> configuration walk.
>
> Most mod_rewrite use is unnecessary and confusing.
>
> --
> Nick Kew
>
> Application Development with Apache - the Apache Modules Bookhttp://www.apachetutor.or


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com