httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ifz 77i <ifz...@googlemail.com>
Subject [users@httpd] Small rewrite problem
Date Sun, 22 Jan 2006 12:46:45 GMT
I've asked on a few IRC channels with no fix :(

Server version:
Apache/2.0.55

URL:
http://www3/a.php?b=moo

Error:
404 Not Found
The requested URL /a.php was not found on this server.

.htaccess contents:
RewriteEngine On
RewriteRule ^/*a\.php\?b=(.*)$ /b.php?a=$1

log_rewrite contents:
192.168.1.101 - - [17/Jan/2006:08:36:37 +0000]
[www3/sid#8153f68][rid#822f050/initial] (3) [per-dir
/home/mick/sites/www3/htdocs/] strip per-dir prefix:
/home/mick/sites/www3/htdocs/a.php -> a.php
192.168.1.101 - - [17/Jan/2006:08:36:37 +0000]
[www3/sid#8153f68][rid#822f050/initial] (3) [per-dir
/home/mick/sites/www3/htdocs/] applying pattern '^/*a\.php\?b=(.*)$'
to uri 'a.php'
192.168.1.101 - - [17/Jan/2006:08:36:37 +0000]
[www3/sid#8153f68][rid#822f050/initial] (1) [per-dir
/home/mick/sites/www3/htdocs/] pass through
/home/mick/sites/www3/htdocs/a.php

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message