• RSS
  • Twitter
  • FaceBook

Security Forums

Log in

FAQ | Usergroups | Profile | Register | RSS | Posting Guidelines | Recent Posts

.shtml file format

Users browsing this topic:0 Security Fans, 0 Stealth Security Fans
Registered Security Fans: None
Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Connectivity // Telecommunications // Internet News

View previous topic :: View next topic  
Author Message
Jason
Forum Fanatic
Forum Fanatic


Joined: 19 Sep 2002
Posts: 16777215


Offline

PostPosted: Sat Oct 19, 2002 3:46 pm    Post subject: .shtml file format Reply with quote

Any ideas what shtml stands for?

I was asked in a test the other day, and it baffled me.

Whats the difference between shtml and normal html (apart from the 's' LOL).

Cheers

Jason
Back to top
View user's profile Send private message Send e-mail
Giro
New Member
New Member


Joined: 25 Mar 2004
Posts: 22
Location: England

Offline

PostPosted: Sat Oct 19, 2002 3:51 pm    Post subject: Reply with quote

When you use SSI (missed full name, Server side includes) you must have an .shtm/.shtml extension for the includes to work,eg, like .php files are parsed its the same with SSI it will check the whole file for an include and execute any includes it finds, Unless Apache has been configured to check all extensions for includes which is said to be bad practice. Its a bit like .php files.

Sorry if this dont make sense ive had to much stella to early Mr Spliff


Last edited by Giro on Sat Oct 19, 2002 4:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jason
Forum Fanatic
Forum Fanatic


Joined: 19 Sep 2002
Posts: 16777215


Offline

PostPosted: Sat Oct 19, 2002 4:01 pm    Post subject: Reply with quote

Cheers.

Any idea what shtml actually stands for?

J
Back to top
View user's profile Send private message Send e-mail
flw
Forum Fanatic
Forum Fanatic


Joined: 27 May 2002
Posts: 16777215
Location: U.S.A.

Offline

PostPosted: Sat Oct 19, 2002 4:34 pm    Post subject: Reply with quote

Per www.whatis.com:

Quote:
A Web file with the suffix of ".shtml" (rather than the usual ".htm") indicates a file that includes some information that will be added "on the fly" by the server before it is sent to you. A typical use is to include a "Last modified" date at the bottom of the page.
This Hypertext Transfer Protocol facility is referred to as a server-side include. (Although rarely done, the server administrator can identify some other file name suffix than ".shtml" as a server-side include file.) You can think of a server-side include as a limited form of common gateway interface application. In fact, the CGI is not used. The server simply searches the server-side include file for CGI environment variables, and inserts the variable information in the places in the file where the "include" statements have been inserted.

When creating a Web site, a good idea is to ask your server administrator which environment variables can be used and whether the administrator can arrange to set the server up so that these can be handled. Your server administrator should usually be able to help you insert the necessary include statements in an HTML file.


I have found whatis.com helpful from time to time.

Also from
Quote:
Apache for Windows: server-parsed hyper text markup language thus shtml
.

Hope this is of some help

fastlanwan
Back to top
View user's profile Send private message Visit poster's website
Jason
Forum Fanatic
Forum Fanatic


Joined: 19 Sep 2002
Posts: 16777215


Offline

PostPosted: Sat Oct 19, 2002 4:44 pm    Post subject: Reply with quote

thanks for everyones help.

FYI: I passed the test.

Cheers

J
Back to top
View user's profile Send private message Send e-mail
hads
Trusted SF Member
Trusted SF Member


Joined: 23 May 2002
Posts: 3
Location: New Zealand

Offline

PostPosted: Sun Oct 20, 2002 2:12 am    Post subject: Reply with quote

SSI is really handy if you don't have and server side language available. Not only for including a navbar or what have you but you can also do conditional includes dependant on browsers and all sorts of other interesting stuff.

A lot more than I originally thought.
Back to top
View user's profile Send private message
Display posts from previous:   

Post new topic   Reply to topic   Printer-friendly version    Networking/Security Forums Index -> Connectivity // Telecommunications // Internet News All times are GMT + 2 Hours
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Looking for more Windows Networking info?

Sign up to the WindowsNetworking.com Monthly Newsletter, written by Enterprise Security MVP Deb Shinder, containing news, the hottest tips, Networking links of the month and much more. Subscribe today and don't miss a thing!
View a sample newsletter.

Become a WindowsNetworking.com member!

Discuss your Windows Networking issues with thousands of other Windows Newtorking experts. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred data recovery solution?

Follow TechGenix on Twitter