The simplest way to achieve what you want would be with ErrorDocument 404 /where/you/want/to/goOn 23/08/06, Bob Ionescu <
[EMAIL PROTECTED]> wrote:Lothar Krenzien wrote:> Hi there,>
> 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
Lothar Krenzien wrote:
Hi there,
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.
-U checks only access controls and not if your URL-path resolves to an
existing resource.
Hi Joshua,
What I saw are the following lines in the logfile :
...
initial (5) RewriteCond URI (-U) check: path=/conergy/Welcome.do -> status=200
initial (4) RewriteCond: input='/conergy/Welcome.do' pattern='!-U' =>
not-matched
initial (2) rewrite '/conergy/Welcome.do' ->
'http://localhost/sunr
On 8/22/06, Lothar Krenzien <[EMAIL PROTECTED]> wrote:
Hi Joshua,
thanks for the hint with the loglevel. Now here's my httpd.conf :
ProxyRequests off
ProxyPass /sunreader/ http://localhost:8080/sunreader/
ProxyHTMLURLMap http://localhost:8080/sunreader/ /sunreader
ProxyHTMLLogVerbose On
LogLev
> Show us exactly what your best guess (based on the documentation) for
> the correct config is, and exactly what happens when you try it.
>
> Joshua.
>
Hi Joshua,
thanks for the hint with the loglevel. Now here's my httpd.conf :
ProxyRequests off
ProxyPass /sunreader/ http://localhost:8080/s
On 8/22/06, Lothar Krenzien <[EMAIL PROTECTED]> wrote:
>
> Start by using the RewriteLog so you can see exactly what is in the
> variables you are using.
>
> Joshua.
>
That's what I did all the time. And because I can't find out the problem I
tried to ask here. So now I see the following in the
>
> Start by using the RewriteLog so you can see exactly what is in the
> variables you are using.
>
> Joshua.
>
That's what I did all the time. And because I can't find out the problem I
tried to ask here. So now I see the following in the rewrite.log :
pass through /con
pass through /error/
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 :
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 :
RewriteEngine On
...
RewriteCond%{REQUEST_URI} !-U