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: Redirect all PHP pages Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ap7256
Newbie
Newbie


Joined: 16 May 2008
Online Status: Offline
Posts: 5
Posted: 11 August 2008 at 11:21am | IP Logged Quote ap7256

Hello,

How do I redirect all .PHP pages to .ASP ones?

Thank you

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


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 11 August 2008 at 12:21pm | IP Logged Quote Lexey

RewriteCond Host: (.*)
RewriteRule ([^?]+)\.php(?:\?.*)? http\://$1$2.asp$3 [I,RP]
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