Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: Rewrite only working on one domain Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
letsport
Newbie
Newbie


Joined: 20 August 2008
Location: Great Britain
Online Status: Offline
Posts: 5
Posted: 26 August 2008 at 4:48am | IP Logged Quote letsport

I posted this by accident on the isapi 3.0 forum. It should have gone on the isapi 2.0 form. So here is my question again:

We have two domains set up on the same server. One is our live or production system www.lovetoescape.com. The other is a test version that we use to test software just before putting it live. This is www.uat.lovetoescape.com. We have been using this test environment to test out Isapi rules before migrating them to production. We have now tested this to our satisfaction on the test environment, however when we applied the rules to production, they do not work and we are getting page now found errors. An example of one such rule which works in test but not in live is:

RewriteRule ^/rrps/holiday_property/.*-([0-9-]+)\.html$ /rrps/rerlgitem.cfm?rerlstid=$1 [L]

You will see that www.uat.lovetoescape.com/rrps/holiday_property/ac-26.html works (albeit with errors on the page - this is due to relative rather than absolute links which we intend to fix). On the other hand http://www.lovetoescape.com/rrps/holiday_property/ac-26.html just gives us Page Cannot Be Found. Yet it is an identical rule. Any ideas where I am going wrong as this is delaying our roll-out of this very good solution to our dynamic url issues.

 

Back to Top View letsport's Profile Search for other posts by letsport Visit letsport's Homepage
 
Vyacheslav
Moderator Group
Moderator Group


Joined: 02 July 2008
Location: Ukraine
Online Status: Offline
Posts: 673
Posted: 26 August 2008 at 9:55am | IP Logged Quote Vyacheslav

Hi.
Actually I have already answered on your question.
I thought that you have 3rd version, but if you asked here that maybe you have 2nd version.
So what is your version of ISAPI_Rewrite?

Also, please check all permissions according to http://www.helicontech.com/isapi_rewrite/doc/security.htm.

For ISAPI_Rewrite 2 please try this code with small modification:
Code:
RewriteRule ^/rrps/holiday_property/.*-([0-9-]+)\.html$ /rrps/rerlgitem.cfm\?rerlstid=$1 [I,L]


__________________
Kind regards!
Vyacheslav Shinkarenko, HeliconTech.
Back to Top View Vyacheslav's Profile Search for other posts by Vyacheslav Visit Vyacheslav'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