Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions
 Helicon Tech : Common Questions
Subject Topic: My rule works in Apache but not in IIS Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gripe
Newbie
Newbie


Joined: 25 March 2008
Online Status: Offline
Posts: 1
Posted: 25 March 2008 at 3:23am | IP Logged Quote gripe

My rule

RewriteRule ^([a-z]{2})/stuff/.+_([0-9]+)/?$ /search.php?lang=$1&MyID=$2 [QSA]

My URL minus the domain

/en/stuff/Michael_%25E5%25A4%25A2_%25E5%25AF%25A7%25E5%25BB%25A3_Johnson_5574/

Problem is that when running this in IIS using IsapiRewriter, I keep getting "The system cannot find the file specified." error.

I ran the same things in Apache and it worked just fine. Can someone please help me make it work in both environments?

Both environments work if I remove all the "%" symbols. But I am not allowed to remove them. They are URLEncoded chinese characters.

I have also used RXTest and it managed to get the values correctly.

Back to Top View gripe's Profile Search for other posts by gripe
 
Yaroslav
Moderator Group
Moderator Group


Joined: 15 August 2002
Online Status: Offline
Posts: 6451
Posted: 26 March 2008 at 10:09am | IP Logged Quote Yaroslav

What version of ISAPI_Rewrite you are using? Please try to upgrade to the latest build available. Also please enable logging using RewriteLogLevel 9 and read resulting log file.

__________________
Yaroslav Govorunov,
Helicon Tech
Back to Top View Yaroslav's Profile Search for other posts by Yaroslav Visit Yaroslav's Homepage
 

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 cannot vote in polls in this forum