Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: Use of .htm extension when coding .asp pages


Message #1 by "Charlie" <charliedevaney@h...> on Mon, 3 Dec 2001 16:21:06
I've come across an intranet site within my organisation in which all the 

asp pages have been named as .htm.

The site is currently running within a non-standard environment and I'm 

keen to move it to a standard environment but will encounter extra work in 

converting the files so that the correct mime types are used.



My question is can anyone shed any light on why somebody would give .asp 

files a .htm file extension? What could the possible technical advantages 

be? or any other benefit?



Message #2 by "Matthew Murray" <m.murray@s...> on Mon, 3 Dec 2001 17:00:34
I have heard before that some developers name all their ".asp" 

files ".htm" (and configure IIS to treat the ".htm" files as ".asp" files) 

because search engines had a problem with .asp files.



Looking through Google or Altavista search results, this doesn't seem to 

be the case. Does anyone know whether there is any truth in this? 



If your intranet was feeding your internet site, that could be one 

explanation.





> I've come across an intranet site within my organisation in which all 

the 

> asp pages have been named as .htm.

> The site is currently running within a non-standard environment and I'm 

> keen to move it to a standard environment but will encounter extra work 

in 

> converting the files so that the correct mime types are used.

> 

> My question is can anyone shed any light on why somebody would give .asp 

> files a .htm file extension? What could the possible technical 

advantages 

> be? or any other benefit?

> 

Message #3 by "Chris Garrett" <chris@c...> on Tue, 4 Dec 2001 09:56:37 -0000
> I've come across an intranet site within my organisation in which all the

> asp pages have been named as .htm.





People sometimes do this if they are from CGI backgrounds and want to

execute Server Side Includes ..



Chris



--



LATEST ARTICLE:

Classic ASP HTML Email with embedded image attachment

http://www.RealWorldASP.com



Don't miss the news! - Sign up for ASP/.NET Newsletter:

http://www.aspalliance.com/chrisg/subscribe.asp



----- Original Message -----

From: "Charlie" <charliedevaney@h...>

To: "asp_discuss" <asp_discuss@p...>

Sent: Monday, December 03, 2001 4:21 PM

Subject: [asp_discuss] Use of .htm extension when coding .asp pages





> The site is currently running within a non-standard environment and I'm

> keen to move it to a standard environment but will encounter extra work in

> converting the files so that the correct mime types are used.

>

> My question is can anyone shed any light on why somebody would give .asp

> files a .htm file extension? What could the possible technical advantages

> be? or any other benefit?

>

>




$subst('Email.Unsub')




  Return to Index