This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: How to original url from url rewritten ur Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dheeraj4uuu
Newbie
Newbie


Joined: 24 September 2011
Online Status: Offline
Posts: 1
Posted: 24 September 2011 at 9:18am | IP Logged Quote dheeraj4uuu

Hi,

How to know the original url from rewritten url from
mod_rewrite?

For example:

if the url is like

www .in.com/news/entertainment/lady-gaga-looking-forward-
to-performance-fix-20667663-in-1.html
How to get the original url ??

It must be like this

www. in.com/blog.php?p=34

Can someone help me??
Back to Top View dheeraj4uuu's Profile Search for other posts by dheeraj4uuu
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 26 September 2011 at 4:20am | IP Logged Quote Anton

Quote from the docs:

"Before any URI modification ISAPI_Rewrite saves original Request-URI into the HTTP header named X-Rewrite-URL. Then it can be retrieved in
ASP using Request.ServerVariables("HTTP_X_REWRITE_URL") alias."

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

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