httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Toni Maatta <t...@borgship.net>
Subject Re: [users@httpd] rewrite problem
Date Mon, 03 Feb 2003 10:34:59 GMT
> Also you should have a look for the environment variables such as REQUEST_URI

here's what happen, when I use REQUEST_URI:

this is just a test, but you'll see what happens.
httpd.conf:
RewriteCond %{REQUEST_URI}     .php
RewriteRule  ^.*$                ${REQUEST_URI} [R]

x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80bca2c/initial] (2) init rewrite
engine with requested uri /user/
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80bca2c/initial] (3) applying pattern
'^.*$' to uri '/user/'
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80bca2c/initial] (4) RewriteCond:
input='/user/' pattern='.php' => not-matched
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80bca2c/initial] (1) pass through
/user/
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80c0e44/subreq] (2) init rewrite
engine with requested uri /user/index.html
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80c0e44/subreq] (1) pass through
/user/index.html
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80c0e44/subreq] (2) init rewrite
engine with requested uri /user/index.htm
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80c0e44/subreq] (1) pass through
/user/index.htm
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80c0e44/subreq] (2) init rewrite
engine with requested uri /user/index.shtml
x.x.x.x - - [03/Feb/2003:11:33:32 +0200]
[www.company.com/sid#809eb6c][rid#80c0e44/subreq] (1) pass through
/user/index.shtml

-- toni

---------------------------------------------------------------------
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