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 (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: How to original url from url rewritten ur
Author
Message |
dheeraj4uuu
Newbie


Joined: 24 September 2011
Posts: 1
Posted: 24 September 2011 at 9:18am

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
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 26 September 2011 at 4:20am

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
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
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