PDA

View Full Version : shtml



jbert
09-07-2008, 07:52 PM
I made my index page with ssi include statements. It works just fine in my local apache server. Before I started other pages I duplicated the index page (with some changes), linked the 2 pages together, and saved the new page as link.shtml.

I get an error when i try to open the link ( 404 error ). Do not get it as the link page is same as index except for minor content change. do the links have to be full address or something. Since in same directory i just used ( link.shtml ).


THANKS



Jim

jscheuer1
09-08-2008, 11:58 AM
PHP or asp? Please post in one of those forums, or in the 'Other' forum if using another server side language.

jbert
09-09-2008, 02:54 AM
Thanks john, when I first posted shtml was not listed anywhere. This is not php or asp, it is an html doc but the s is there to alert server that the 'include directive' was used. It worked very well and easy. for the people that do just HTML this is a great gem to use.


Thanks


JIM

jscheuer1
09-09-2008, 03:50 AM
Well yes of course. My point is that SHTML (and PHP, and asp, and other server side conventions) are server side languages. They will not work unless the server is setup to use them. Therefore they will not work on many hosts. These very useful methods should not be confused with HTML, which is a client side language that will work on virtually any host.

This is the HTML forum. If your issue isn't strictly with HTML, it would be better to post in the appropriate forum, or 'Other (http://www.dynamicdrive.com/forums/forumdisplay.php?f=12)' if none fits.

I know that the HTML forum is filled with posts (in addition to ones that belong in it) that relate to other areas. This is partly because some folks just don't know what is HTML and what is not HTML. But it is also because some folks are too lazy, exasperated, or whatever to find the appropriate forum for their posts.

At the moment, questions about SHTML belong in the 'Other (http://www.dynamicdrive.com/forums/forumdisplay.php?f=12)' forum. If you want an area specific to SHTML, ask for it in:

Feedback and Announcements (http://www.dynamicdrive.com/forums/forumdisplay.php?f=15)

Now, I know that you probably know most or all of this. This post is primarily for other folks, to help them find or to create the appropriate forum on the board here for their posts.