[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Rewriting Problems with Apache 1.3.20+



I recently installed a new server with the new Debian 2.2r3.
I compiled Apache 1.3.20 with PHP 4.0.5 for testing purposes.
I have a strange behaviour with one of our URL-rewrite
scripts which we used since version 1.3.9 of Apache.
The rewriting is configured to handle all request of a
certain url. But since the update it has stopped functioning.
The request is received by the rewrite engine, but then
nothing happens:

192.168.100.50 - - [23/May/2001:15:35:25 +0200]
[avtest.inity.de/sid#81df034][rid#81ed9a4/initial] (2) init rewrite
engine with requested uri /test
192.168.100.50 - - [23/May/2001:15:35:25 +0200]
[avtest.inity.de/sid#81df034][rid#81ed9a4/initial] (3) applying pattern
'^(.*)' to uri '/test'

The rewrite script receives no input. I even tried it with a program
which generates a simple echo. Still nothing.
No errors in any of apache's logs. If I connect to the http-socket
the server simply closes the connection after a request without
any further output.

My Config for the rewriting looks like this:

 RewriteEngine on
 RewriteMap avrewrite prg:/www/avtest.inity.de/avrtest.pl
 RewriteRule ^(.*) ${avrewrite:%{REQUEST_URI}?%{QUERY_STRING}}

And the avrtest.pl (for testing):

 #!/usr/bin/perl
 $| = 1;
 while (<>) {
       print "$_";
       }
 exit;

Any ideas, comments or hints to figure out whats going wrong?

Thanks for you help
Peter

________________________________________________________________________
____
PETER LIEVEN 
systemadministrator  telefon: 02 11.99 1 99-0
inity - agentur fuer neue medien gmbh  fax: 02 11.99 1 99-10
birkenstrasse 71  homepage: http://www.inity.de
40233 duesseldorf  e-mail: lieven@inity.de



Reply to: