httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boysenberry Payne <boysenbe...@humaniteque.com>
Subject Re: [users@httpd] Rewrite If Statements
Date Wed, 23 Feb 2005 18:43:50 GMT
I believe the IF statements are automatically assumed on each new 
rewrite rule.
But I know you can use a [L] at the end of the rewrite rule to specify 
to stop once
the rule has been satisfied.

On Feb 23, 2005, at 8:44 AM, Nick Gushlow wrote:

> Hi,
>
> Are there IF statements for mod_rewrite?  Been looking on the guide and
> manual but can't see any.
>
> Basically I want to be able to do this:
>
> IF RewriteCond THEN
>     RewriteRule
> ELSE IF RewriteCond THEN
>     RewriteRule
> ELSE
>     RewriteRule
>
> Thanks,
>
> Nick.
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message