On 8/22/06, Lothar Krenzien <[EMAIL PROTECTED]> wrote:
Hi there,

I'm using Apache 2.2 from the xampp project on Windows XP and 2003. Now I want 
to redirect a request *ONLY* if the URL does not exist. I know the !-U flag for 
a RewriteCond but can't get it working. Here's what I tried to do :

<IfModule mod_rewrite.c>
 RewriteEngine On
 ...
 RewriteCond    %{REQUEST_URI} !-U
 RewriteRule    ^/(.*).do  http://localhost/Portal_Update.php
 ...
</IfModule>

This results in an 503 error  so it seems that the RewriteRule was not executed.

Start by using the RewriteLog so you can see exactly what is in the
variables you are using.

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

Reply via email to