HighDots Forums  

.html referring to .htm in .htaccess

Website Design comp.infosystems.www.authoring.site-design


Discuss .html referring to .htm in .htaccess in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
d00gle
 
Posts: n/a

Default .html referring to .htm in .htaccess - 05-24-2006 , 12:01 PM






If you save a file, filename.htm but look up filename.html, you get an
error, a 404.

I usually remember to save them as filename.html, but sometimes I
don't.

Does anyone know what to add in .htaccess to have a filename.htm file
refer to filename.html?
Or have .html files and .htm to equate to the same file?

I' sure there's a way for the server to look for the same file with
same-filename.html or same-filename.htm in case the file can't be found.


Reply With Quote
  #2  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: .html referring to .htm in .htaccess - 05-24-2006 , 12:10 PM






On 24 May 2006, d00gle wrote:

Quote:
Does anyone know what to add in .htaccess to have a filename.htm file
refer to filename.html?
Or have .html files and .htm to equate to the same file?
Please refer to <news:comp.infosystems.www.servers.unix>
<http://groups.google.com/group/comp.infosystems.www.servers.unix>

--
The working man is dead - the acute accent is alive.
http://www.workingmansdeath.com/imag...kinoplakat.gif



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.