durusmail: quixote-users: mod rewrite problems (?)
mod rewrite problems (?)
2003-04-19
2003-04-25
mod rewrite problems (?)
Greg Ward
2003-04-25
On 19 April 2003, IvO said:
> rules. Mod_rewrite correctly (I think) rewrites my URL as shown below, but
> apache (2.x) insists in not serving it (log attached further down).

I for one haven't played with Quixote under Apache 2.0 yet.  Must give
it a whirl one of these months.  One thing looks funny in your rewrite
log:

> imunoz:logs > cat rewrite.log
[... ok so far ...]
> [jarjar.pl.eso.org/sid#80ff1f0][rid#81c4248/initial] (1) go-ahead with
> /diska/imunoz/http/cgi-bin/demo.cgi/ [OK]
[why doesn't rewriting stop here?]

> 134.171.180.132 - - [19/Apr/2003:22:20:31 +0000]
> [jarjar.pl.eso.org/sid#80ff1f0][rid#81c4248/initial] (2) init rewrite engine
> with requested uri /qdemo

Strange: it looks as though "/qdemo/" is being properly turned into
/diska/imunoz/http/cgi-bin/demo.cgi/, but then Apache is suddenly
deciding it's really being asked to serve "/qdemo".  This is all one
request, right?  (I assume "rid" is short for "request id".)

> 134.171.180.132 - - [19/Apr/2003:22:20:31 +0000]
> [jarjar.pl.eso.org/sid#80ff1f0][rid#81c4248/initial] (1) pass through /qdemo

...and this just shows that Apache has been told not to do anything with
"/qdemo", which might be the case depending on what your rewrite rule
looks like.  All I can suggest is look very very closely at your rewrite
rule and at the Apache 2.0 docs at the same time.  Perhaps the rules for
rewriting have changed subtly?

        Greg
--
Greg Ward                          http://www.gerg.ca/
I brought my BOWLING BALL -- and some DRUGS!!

reply