Results 1 to 4 of 4

Thread: shtml

  1. #1
    Join Date
    Dec 2006
    Location
    Texas
    Posts
    38
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default shtml

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    PHP or asp? Please post in one of those forums, or in the 'Other' forum if using another server side language.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2006
    Location
    Texas
    Posts
    38
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Default Solved

    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
    Last edited by jbert; 09-09-2008 at 02:59 AM. Reason: misspelled

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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' 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' forum. If you want an area specific to SHTML, ask for it in:

    Feedback and Announcements

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •