On 8/10/06, Joshua Slive <joshua@xxxxxxxx> wrote:
RewriteConds apply only to the RewriteRule immediately following them. There are various ways to avoid having to write the same conds multiple times, for example: RewriteCond %{REQUEST_URI} !\.(jpe?g|gif|png|txt|doc|ppt|pdf)$
Should obviously be an [OR] on the end of there to properly reverse the logic of the original.
RewriteCond %{REQUEST_URI} ^/css/ RewriteRule .* - [L] RewriteRule ^/(.+)$ /domains/default/$1 [last] RewriteRule ^/(?:Rural/)?(.+)$ /domains/Rural/$1 [last,nocase] Joshua.
--------------------------------------------------------------------- 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