You are here: .htaccess for file extensions? « HTML « IT news, forums, messages
.htaccess for file extensions?

Posted by draphael on 10/30/05 19:56

Hi,

Is there a way to configure .htaccess so that requests for files ending in
..htm are redirected to the same file name but with an extension of .html?

Requests for .htm pages are showing up in my error logs. The page name is
right but the extension should be .html. I don't know where these are coming
from, I'd rather that folks were directed to the correct page, rather than
the 404 page.

If it's possible I'd surely be grateful for the solution!

Thanks!!
DRaphael

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация