On Feb 8, 2008 7:47 AM, Campbell, Lance <[EMAIL PROTECTED]> wrote:

> Requested URL: http://acme.com/abc/123
>
>
>
> Sudo Code:
>
>
>
> If the URL matches /abc/*
>
>   Then rewrite the URL to /zzz/abc/123
>
>     if the file exists then done (leave the requested file as /zzz/abc/123)
>
>     else if it does not exist
>
>      then rewrite the URL to /xxx/abc/123 then done

Lets see...

Rewritecond      /my/doc/root/$1      -f
RewriteRule      /abc/(.*)                  /zzz/abc/$1    [L]

RewriteRule      /abc/(.*)                  /xxx/abc/$1

Krist



-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to