Re: RewriteRule problem

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

 





On Tue, 19 Feb 2008, Ruslan Sivak wrote:

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

It proxies to the same host...

Are you sure it is actually dropping the arguments, and not just omitting them from the rewrite log? That is, what does your access log show?

Where I grew up, spaces in URLs were considered to be evil. You should probably encode them, even if this is not the cause of the issue.

That said, why do you wish to proxy this request in the first place? It seems to me it that this won't be necessary as you're staying on the same host with your request.



Best wishes
Nils


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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux