FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » mod_rewrite rule question
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
mod_rewrite rule question [message #173305] Sat, 02 April 2011 21:54 Go to previous message
Corvet is currently offline  Corvet
Messages: 4
Registered: April 2011
Karma:
Junior Member
I need set a mod_rewrite rule to map incoming .html and .htm requests to the
(new) real .php extensions.
The following example I find is for .html page: how to adjust rule for both
..html and .htm pages?

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.html$ $1.php [NC]


thanks.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Posting and redirecting to remote script
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 18:26:49 GMT 2024

Total time taken to generate the page: 0.05142 seconds