Results 1 to 10 of 10

Thread: Need Help with SSI...

  1. #1
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default Need Help with SSI...

    Quick question: is SSI already enabled, or do we have to do something special in order to use it? Thank you!

  2. #2
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default

    Anybody...? I'm sure there is someone out there who utilizes SSI and knows what I am talking about.

  3. #3
    Join Date
    Sep 2003
    Posts
    3,040

    Default

    SSI is enabled on all web sites by default.
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  4. #4
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default

    Excellent! Thanks, Nokia! I knew someone here had to have the answer!

    props++

  5. #5
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default

    Hello. Sorry to bother you all again, but I seem to be having some trouble using SSI.

    I'm trying to use the INCLUDE directive to put a menu into my index page. For instance...



    ... where, menu.html is in the same directory as my index file.

    However, the contents of menu.html are not showing up. I read the FAQs located here, and from what I understand, I need the index file to be named as index.shtml, not index.html. (Is this correct?)

    So anyway, I then proceed to upload the index.shtml file and try to open it, but I get a 404 error.

    I'm very confused. Can someone tell me what I'm doing wrong? Thanks in advance![/url]

  6. #6
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default

    Ok, I tried the same thing I did last night again (see my previous post), but it didn't work.

    Since my coding looks correct, and I assume it is because it's only one line and no one has commented on it, I think this might be an issue with the server. Is anyone having issues with SSI? Or am I really doing something wrong?

  7. #7
    Join Date
    Jan 2005
    Location
    Antwerp, Belgium, Europe, The World
    Posts
    82

    Default

    maybe you should try using php for this...
    Code:
    <?php include("index.html")?>
    , then you need to change the extension of your html document to .php and make sure it's activated on your account.

  8. #8
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default

    Thanks for the advice, Lithium, I appreciate it.

    However, at least for now, I would like to stay away from PHP simply because I don't know how to use it. From what I've read here, I know that it is extremely versatile, but I am still trying to learn SSI at this moment. I will consider PHP as a last resort.

    I just wish I knew what, if anything, is wrong with my current coding. The biggest thing that bothers me right now is that any time I upload and try to access an .SHTML file, I get a 404 error. Is an .SHTML file even necessary for SSI to work?

    I am so lost and I wish everything would just work. :(

  9. #9
    Join Date
    Jan 2005
    Location
    Antwerp, Belgium, Europe, The World
    Posts
    82

    Default

    I didn't even know you could include documents with html...
    Because SSI means Server Side Include, and html isn't server side, but I guess it's possible but I don't know how, ofcourse you can also use iframes, but then ofcourse you have the scrollbar with it...

  10. #10
    Join Date
    Aug 2004
    Location
    USA
    Posts
    25

    Default

    Interesting point, but I'm assuming that the server is set up to allow for it, as BizHat's own FAQ's make reference to including html files. Look here: http://www.netfreehost.com/faq/ssi/include_file.php

    Admin, if you are around, it would be great if you could clear this up. If the server supports SSI, why isn't it working out? Thanks in advance.

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
  •