RSS Forums RSS
Please support our Linux Servers and Apache advertiser: Programming Forums

mod_rewrite question

Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 11,115
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Rep Power: 33
Solved Threads: 117
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: mod_rewrite question

  #2  
Nov 10th, 2003
It should be like this:

If all you want to do is change the .shtml extension to .html

RewriteEngine on
RewriteRule ^(.*).shtml$	  $1.html [L]
Dani the Computer Science Gal
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 12:52 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC