| Author |
|
rebel Newbie

Joined: 29 April 2008
Online Status: Offline Posts: 5
|
| Posted: 29 April 2008 at 9:57pm | IP Logged
|
|
|
Hi,
Everything seems to work unless the is a space " " encoded as a plus sign in a URL. Then I get a 404
The rule: RewriteRule ^/end/(.*) /end/ende.aspx?w=$1
These works right: /end/go
/end/go%20up
This gives a 404: /end/go+up
Any ideas on how to get this to work? My log:2008-04-30 02:00:09 GET /end/go+up ... 404
I tried setting RewriteLogLevel 9 (and 3) but I didn't see anything of interest. This is on Windows Server 2008/IIS7. ISAPI_Rewrite 3.0047 Lite
Thanks!
EDIT: I tested it on Server 2003 and it worked fine. It seems to be a Server 2008 problem.
Edited by rebel - 29 April 2008 at 11:31pm
|
| Back to Top |
|
| |
Anton Moderator Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Offline Posts: 4695
|
| Posted: 30 April 2008 at 4:43pm | IP Logged
|
|
|
Please provide rewrite log records for non-working request.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
rebel Newbie

Joined: 29 April 2008
Online Status: Offline Posts: 5
|
| Posted: 30 April 2008 at 4:50pm | IP Logged
|
|
|
There were no relevant log entries.
This is all I find in the log: [4/29/2008 22:48:24] (crit) ISAPI Filter loaded. Version 3.1.0.47. Windows 6.0 (Build 6001 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 8. [4/29/2008 22:49:04] (crit) ISAPI Filter loaded. Version 3.1.0.47. Windows 6.0 (Build 6001 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 8. [4/30/2008 15:14:58] (crit) ISAPI Filter loaded. Version 3.1.0.47. Windows 6.0 (Build 6001 ServicePack:1) ProductType SERVER. CPU type INTEL NumberOfProcessors 8.
|
| Back to Top |
|
| |
Yaroslav Moderator Group

Joined: 15 August 2002
Online Status: Offline Posts: 6466
|
| Posted: 01 May 2008 at 9:31am | IP Logged
|
|
|
Actually rewrite.log would be more interesting in this case. Don't forget to put RewriteLogLEvel 9 into httpd.conf before capturing the log.
__________________ Yaroslav Govorunov,
Helicon Tech
|
| Back to Top |
|
| |
rebel Newbie

Joined: 29 April 2008
Online Status: Offline Posts: 5
|
| Posted: 01 May 2008 at 11:02am | IP Logged
|
|
|
OK, I have the Rewrite.txt log:
It captured a search the URL ending in /go but did not capture the URL ending in /go+up Nothing from my IP address was captured for /go+up
It seems that nothing with a + is getting to the rewrite engine in Server 2008.
Here is the capture for go: 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (2) init rewrite engine with requested uri /end3/go 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (3) applying pattern '^/end3/(.*)' to uri '/end3/go' 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (1) escaping /end2/end.aspx?w=go 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (1) Rewrite URL to >> /end2/end.aspx?w=go 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (2) rewrite '/end3/go' -> '/end2/end.aspx?w=go' 123.123.123.123 123.123.123.123 Thu, 01-May-2008 11:27:03 GMT [www7.wordreference.com/sid#2][rid#35222520/initial] (2) internal redirect with /end2/end.aspx?w=go [INTERNAL REDIRECT]
Edited by rebel - 01 May 2008 at 11:03am
|
| Back to Top |
|
| |
Yaroslav Moderator Group

Joined: 15 August 2002
Online Status: Offline Posts: 6466
|
| Posted: 02 May 2008 at 6:34am | IP Logged
|
|
|
Possibly because request is blocked before it gets to ISAPI_Rewrite. Maybe it is a feature of IIS7 configuration or probably you have some other filters like URLScan installed that may block such requests.
We will investigate it with IIS7 later.
__________________ Yaroslav Govorunov,
Helicon Tech
|
| Back to Top |
|
| |
rebel Newbie

Joined: 29 April 2008
Online Status: Offline Posts: 5
|
| Posted: 25 June 2008 at 8:53am | IP Logged
|
|
|
Where can I create a bug report for this issue? The release notes make me think that it hasn't been fixed in recent releases.
|
| Back to Top |
|
| |
Yaroslav Moderator Group

Joined: 15 August 2002
Online Status: Offline Posts: 6466
|
| Posted: 25 June 2008 at 9:08am | IP Logged
|
|
|
This is not ISAPI_Rewrite issue. ISAPI_Rewrite even not applied on such requests, IIS7 blocks any URL with "+" inside the path before ISAPI_Rewrite has a chance to execute. Thus your URL will return 404 even without ISAPI_Rewrite installed.
__________________ Yaroslav Govorunov,
Helicon Tech
|
| Back to Top |
|
| |
rebel Newbie

Joined: 29 April 2008
Online Status: Offline Posts: 5
|
| Posted: 25 June 2008 at 9:50am | IP Logged
|
|
|
OK, thanks, please let me know if you know a work-around.
|
| Back to Top |
|
| |