Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issue Trying To Redirect Based On A URI With Hex

Status
Not open for further replies.

johngiggs

Technical User
Oct 30, 2002
492
US
I have a URI that I'm trying to redirect back to the homepage on my site. For some reason since it contains hex I can't seem to get it to work.

A sample source URL is:



The destination URL is:


I've tried many different things to no avail. Some things include:

RewriteRule ^/(.*)REG_LOGINfromURL(.*) [L,R=301]

RewriteRule REG_LOGINfromURL [R=301]

Some tests with RewriteMap escape int:escape.

Nothing has worked thus far.

Can someone please help me out?

Redirecting source URLs with REG_LOGINfromURL will get me what I need. Some of my examples work when the source URL does not contain hex, so if the URL was instead it would redirect.

Thanks,

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top