Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Variable Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
tommyyyy
Newbie
Newbie


Joined: 23 August 2010
Online Status: Offline
Posts: 1
Posted: 23 August 2010 at 6:32am | IP Logged Quote tommyyyy

Hi all, i wonder are there any possible method which i can do the follow

RewriteRule /variable.html /variable.php

because i got a lot of

abc1.php abc2.php abc2.php ~ abc100.php

is it possible to write only one rule to present all ??
Back to Top View tommyyyy's Profile Search for other posts by tommyyyy
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 8118
Posted: 24 August 2010 at 7:44am | IP Logged Quote Lexey

RewriteRule /([^/?.]+)\.html /$1.php [I,L]
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