RE: What is shtml?

Hi,

> -----Original Message-----
> From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
> Of Brian
> Sent: Saturday, May 26, 2001 6:34 AM
> To: www-html@w3.org
> Subject: RE: What is shtml?
>
>
> Server side includes are used for web servers. I use it often.
> Very simply,
> you add this line to your html file.
>
> <!--#include virtual="file" -->
>
> I use virtual addresses for the files, you can also use hard disk
> addresses.
>
> Wherever you have that, it is replaced with the content in the
> file. It is a
> way to make it so you don't have to repeat content, but for text only and
> the user doesn't know you use it. I name my files .html even if they have
> SSI, yet some people like to use .shtml (beats me why).

This is because some servers ignore SSI directives if the file is named html
instead of shtml.

There is a good reason for this: Ignoring SSI directives means that all the
server has to do is serve the file. Not ignoring it means that the file has
to be scanned for SSI directives (and possibly additional processing to
occur) before it is served. We would not want our html files, that contain
no SSI directives, to be scanned (adding to the web server's load) when they
don't really contain any directives.

Take Care,
Fotios

>
> -----Original Message-----
> From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
> Of David Bindel
> Sent: Friday, May 25, 2001 22:23
> To: www-html@w3.org
> Subject: Re: What is shtml?
>
>
> > > Hi,
> > >
> > > Sorry to ask this dumb question. What is really shtml? I need
> some info
> > about this. I tried to look at w3c site but did not find anything.
> > >
> > > -ravi
>
> NowI'm not the expert on this, but from what I have read, a file with the
> extension .SHTML means it utilizes Server-Side Includes (SSI)
> which enables
> a
> web developer to insert HTML (by using an SSI command) across a whole
> website
> by changing just a single file, which the embedded SSI command calls for.
>
> As for how to use SSI, I have no idea.
>
> If I'm wrong, sorry.
>
> (Hopefully),
> David Bindel
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Received on Saturday, 26 May 2001 02:28:07 UTC