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: Site Redirection Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
vishalmishra51
Newbie
Newbie


Joined: 20 October 2010
Location: India
Online Status: Offline
Posts: 7
Posted: 21 January 2011 at 5:24am | IP Logged Quote vishalmishra51

I want this type of redirection

http://www.XXX.com/kshfddskfhsdfhsk

to be redirected to

http://www.XXX.com/

 

This redirection should follow a 404 redirection as

http://www.XXX.com/kshfddskfhsdfhsk does not exists in the website  and the above redirection should not affect my any working URL

Back to Top View vishalmishra51's Profile Search for other posts by vishalmishra51
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 21 January 2011 at 7:37am | IP Logged Quote Anton

Do you want this to work on ISAPI_Rewrite2?
It is easy to achieve on ISAPI_Rewrite3, but on v2 there's no direct way to do this.
You can only do something like this:

[ISAPI_Rewrite]

RewriteRule /(?!list|all|physical|folders|here).* http\://www.XXX.com/404.asp [I,RP]


__________________
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