Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 3.0 support forum
 Helicon Tech : ISAPI_Rewrite 3.0 support forum
Subject Topic: + in URL leads to 404 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rebel
Newbie
Newbie


Joined: 29 April 2008
Online Status: Offline
Posts: 5
Posted: 29 April 2008 at 9:57pm | IP Logged Quote rebel

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 View rebel's Profile Search for other posts by rebel
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4695
Posted: 30 April 2008 at 4:43pm | IP Logged Quote Anton

Please provide rewrite log records for non-working request.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
rebel
Newbie
Newbie


Joined: 29 April 2008
Online Status: Offline
Posts: 5
Posted: 30 April 2008 at 4:50pm | IP Logged Quote rebel

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 View rebel's Profile Search for other posts by rebel
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 01 May 2008 at 9:31am | IP Logged Quote Yaroslav

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 View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
rebel
Newbie
Newbie


Joined: 29 April 2008
Online Status: Offline
Posts: 5
Posted: 01 May 2008 at 11:02am | IP Logged Quote rebel

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 View rebel's Profile Search for other posts by rebel
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 02 May 2008 at 6:34am | IP Logged Quote Yaroslav

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 View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
rebel
Newbie
Newbie


Joined: 29 April 2008
Online Status: Offline
Posts: 5
Posted: 25 June 2008 at 8:53am | IP Logged Quote rebel

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 View rebel's Profile Search for other posts by rebel
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6466
Posted: 25 June 2008 at 9:08am | IP Logged Quote Yaroslav

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 View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 
rebel
Newbie
Newbie


Joined: 29 April 2008
Online Status: Offline
Posts: 5
Posted: 25 June 2008 at 9:50am | IP Logged Quote rebel

OK, thanks, please let me know if you know a work-around.

Back to Top View rebel's Profile Search for other posts by rebel
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum