perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Iosif Fettich <ifett...@netsoft.ro>
Subject Re: who's putting that <pre> tag in the output...?
Date Mon, 23 Mar 2009 16:32:02 GMT
Hi Torsten,

On Mon, 23 Mar 2009, Torsten Foertsch wrote:

> On Mon 23 Mar 2009, Iosif Fettich wrote:
>> So it seems to be very, very easy. Still, when using the above
>> receipt like
>>      RewriteEngine on
>>      RewriteCond   %{REQUEST_URI}   !-U
>>      RewriteRule   ^\/(.+)          http://OLDDOMAIN.COM/$1 [QSA,P]
>
> The engine tries to resolve the request uri with a subrequest. Hence it
> goes through this rule twice. Try to add "NS" (no subrequest) to the
> flags [QSA,P,NS].

I have; the log now shows

[rid#2ba8b0168af8/initial] (3) applying pattern '^\/(.+)' to uri '/index.php'
[rid#2ba8b04b9e18/subreq] (2) init rewrite engine with requested uri /index.php
[rid#2ba8b04b9e18/subreq] (1) pass through /index.php
[rid#2ba8b0168af8/initial] (5) RewriteCond URI (-U) check: path=/index.php -> status=200
[rid#2ba8b0168af8/initial] (4) RewriteCond: input='/index.php' pattern='!-U' => not-matched
[rid#2ba8b0168af8/initial] (1) pass through /index.php

which looks a buit different, but still leaves mw with the "The requested 
URL /index.php was not found on this server." error.

I'm not really understanding what the log is saying.

Or is the [P]roxy flag not working as it should or as I expect it to ? 
It seems to work fine for the subrequest (status=200) ...?

So far, I just cannot understand what's going on here or where to look and 
what to try.

Many thanks,

Iosif Fettich


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message