httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] RewriteRule problem
Date Wed, 20 Feb 2008 08:04:20 GMT
On Feb 19, 2008 11:35 PM, Ruslan Sivak <rsivak@istandfor.com> wrote:

> Logs:
>
> for somehostname.com/u/testing test
>
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (2) init rewrite
> engine with requested uri /u/testing test
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (3) applying pattern
> '^/u/(.+)/*$' to uri '/u/testing test'
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (2) rewrite
> '/u/testing test' -> '/index.html?user=testing test'
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (3) split
> uri=/index.html?user=testing test -> uri=/index.cfm, args=user=testing test
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (2) forcing
> proxy-throughput with http://somehostname.com/index.html
> 127.0.0.1 - - [19/Feb/2008:17:25:33 --0500]
> [somehostname.com/sid#7680e0][rid#a82fa0/initial] (1) go-ahead with
> proxy request proxy:http://somehostname.com/index.html [OK]
>
>
> for somehostname.com/u/#1 test
>
> 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
> [somehostname.com/sid#7680e0][rid#aa10c8/initial] (2) init rewrite
> engine with requested uri /u/#1 test
> 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
> [somehostname.com/sid#7680e0][rid#aa10c8/initial] (3) applying pattern
> '^/u/(.+)/*$' to uri '/u/#1 test'
> 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
> [somehostname.com/sid#7680e0][rid#aa10c8/initial] (2) rewrite '/u/#1
> test' -> '/index.html?user=#1 test'
> 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
> [somehostname.com/sid#7680e0][rid#aa10c8/initial] (3) split
> uri=/index.html?user=#1 test -> uri=/main.cfm, args=user=#1 test
> 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
> [somehostname.com/sid#7680e0][rid#aa10c8/initial] (2) forcing
> proxy-throughput with http://somehostname.com/index.html
> 127.0.0.1 - - [19/Feb/2008:17:32:41 --0500]
> [somehostname.com/sid#7680e0][rid#aa10c8/initial] (1) go-ahead with
> proxy request proxy:http://somehostname.com/index.html [OK]
>
> This is not in .htaccess or <Directory>.

The rewrite rule is apparently doing exactly what you expect it to do.
You problem is probably with the index.html. You should see the
accesses to "/index.html?user=testing test" in your access log, and if
there is a problem with this file the error log is the place to start
looking.

Krist


-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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