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: ISAPI_Rewrite 2.7 Need you help,thanks. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
thanku
Newbie
Newbie


Joined: 31 January 2010
Online Status: Offline
Posts: 2
Posted: 31 January 2010 at 8:12am | IP Logged Quote thanku

Hi, i am using ISAPI_Rewrite 2.7 and trying to acheive the following:

http://shop.house.com/123/index.asp to http://www.house.com/shop/123/index.asp

When the user access the link http://shop.house.com/123/index.asp it should load the url  http://www.house.com/shop/123/index.asp

RewriteCond Host: shop\.house\.com
RewriteRule /(\d+)/index\.php   /shop/$1/index\.php

Is there something wrong with my rule, any advise.

Thanks.

Back to Top View thanku's Profile Search for other posts by thanku
 
Anton
Moderator Group
Moderator Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 9125
Posted: 01 February 2010 at 3:56am | IP Logged Quote Anton

It looks quite correct... Is it not working? What error do you get? Do you need the rule to work for index.php page only?

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


Joined: 31 January 2010
Online Status: Offline
Posts: 2
Posted: 01 February 2010 at 8:29am | IP Logged Quote thanku

Thank you very much!

RewriteCond Host: shop\.house\.com
RewriteRule /(\d+)/index\.php   /shop/$1/index\.php
.asp mistakes to .php

I have solved,  The reason is,neglected of the DNS settings.

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

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