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: re-write Rules Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
monaloca
Newbie
Newbie


Joined: 19 May 2008
Online Status: Offline
Posts: 8
Posted: 17 July 2008 at 10:48am | IP Logged Quote monaloca

Hello!

I bought ISAPI but I'm having a hard time doing what I want.

This is what I need ISAPI to do.

I have a site on my server.

http://72.192.174.XX:9090

People can get to it using my domain name www.mysite.com.

I have ISAPI on my server and I want the URL on the browser to show my domain name and the rest of the URL instead of the IP number. See example bellow.

This URL "http://72.192.174.xx:9090/detail.aspx?ID=14" to http://www.mysite.com/detail.aspx?ID=14

Even better with a friendly URL like http://www.mysite.com/Blue-Ball.html

Thank you in advance,

Back to Top View monaloca's Profile Search for other posts by monaloca
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7460
Posted: 28 July 2008 at 5:02pm | IP Logged Quote Lexey

Try this:

RewriteRule /Blue-Ball\.html /detail.aspx\?ID=14 [I]
RewriteProxy (.*) http\://72.192.174.xx\:9090$1 [I]
Back to Top View Lexey's Profile Search for other posts by Lexey
 
monaloca
Newbie
Newbie


Joined: 19 May 2008
Online Status: Offline
Posts: 8
Posted: 29 July 2008 at 2:56pm | IP Logged Quote monaloca

Does not work. I don't know if it is possible to do it.

I have my domain name point to this IP http://72.192.174.XX:9090 

On my Server with the above IP, I have ISAPI with the e-commerce software.

I want users to get to my page using the domain name MySite.com and I also want them to see the url like http://www.mySite.com/SearchResult.aspx?ID=14 or http://www.mysite.com/Boots.html

Basically I want to change the URL with IP number to my domain name with a friendly URL.

Back to Top View monaloca's Profile Search for other posts by monaloca
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7460
Posted: 31 July 2008 at 3:42pm | IP Logged Quote Lexey

Quote:

Does not work. I don't know if it is possible to do it.


How exactly it does not work (error messages, IIS log records, etc)?

Quote:

I have my domain name point to this IP http://72.192.174.XX:9090


That is not a single IP address. It is the IP and port combination. And single domain name can not point to it.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
monaloca
Newbie
Newbie


Joined: 19 May 2008
Online Status: Offline
Posts: 8
Posted: 31 July 2008 at 4:33pm | IP Logged Quote monaloca

Right. I foward my domain to that ip and port combination. I don't get any error. The URL just doesn't change.
Back to Top View monaloca's Profile Search for other posts by monaloca
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7460
Posted: 31 July 2008 at 4:43pm | IP Logged Quote Lexey

And it should not change. ISAPI_Rewrite only allows you to use new URL instead of an old one. It will not replace old URL with a new one. You need to do this change manually.
Back to Top View Lexey's Profile Search for other posts by Lexey
 

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