I got it to work correctly with the [L] flag. Now everything is working as intended. One last thing I need to accomplish is overriding the Server header when using the [P] flag. For example in this rule RewriteRule /inbox/(.+) http://127.0.0.1:22131/$1 [P] The Server header returned is "TwistedWeb/2.5.0" (python server). Can I do something to override that and make it return the Apache version like it does normally? On Fri, Dec 18, 2009 at 5:07 PM, Cristian Pini <cris.pini@xxxxxxxxx> wrote: > It skips the rest of the rules that are chained with that rule if it does not match, not necessarily the rest of the conditions that are set. > > Can you add the code pls as the next part seems a little unclear. > > > -----Original Message----- > From: Perl Whore [mailto:whoreperl@xxxxxxxxx] > Sent: 18 December 2009 10:35 > To: users@xxxxxxxxxxxxxxxx > Subject: Re: What is wrong with this RewriteCond? > > I read the docs for the flags and it says for [C] that if a rule is > not matched then it skips the rest of the rules. > > What I'm trying to do are set individual rules for the same condition > and not a chain of rules. So only the rule that match should be > applied. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx