Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Common Questions
 Helicon Tech : Common Questions
Subject Topic: Anton- Help me please Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lightguy1
Groupie
Groupie


Joined: 08 July 2008
Online Status: Offline
Posts: 45
Posted: 08 July 2008 at 4:25pm | IP Logged Quote lightguy1

I installed Rewrite 3 into IIS and it works great, except on my urls where my part numbers contain a / in them. These will not get processed

For example, my original url works:
http://www.mysite.biz/moreinfo.int?itemno=CF11G25/827/MED

My rewritten url, does not work:

http://www.mysite.biz/light-bulb/CF11G25/827/MED

It will not process ANY url where my itemno contains a / in it. How can I fix this? If i view my webserver, it will show that the only thing being requested is CF11G25 and nothing after the /

Below is my configuration:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.51

RewriteEngine on
RewriteRule ^light-bulbs/([^/]*) moreinfo.int?itemno=$1 [L]
Please help me!!!!
Thanks
Back to Top View lightguy1's Profile Search for other posts by lightguy1
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 4837
Posted: 09 July 2008 at 9:17am | IP Logged Quote Anton

The rule should look like this:

RewriteEngine on
RewriteBase /
RewriteRule ^light-bulbs/(.+)$ moreinfo.int?itemno=$1 [L]


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


Joined: 08 July 2008
Online Status: Offline
Posts: 45
Posted: 09 July 2008 at 9:30am | IP Logged Quote lightguy1

Thanks, got it working!

Now how do I send a 301 with isapi rewrite so when my old indexed urls are requested they receive the proper 301 to the new url?
Back to Top View lightguy1's Profile Search for other posts by lightguy1
 

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