SSI without .htaccess

Posted on Jan 08, 2009 under xn--zqqs84h3is.com | edit
  • I'm moving one of my sites to a new host. I usee SSI for the menu, but they don't allow .htaccess. Up till now my pages have been .html files, with .htaccess to tell the server to treat them as .shtml files. I've changes all my files and internal links to .shtml where relevant, but is there anything else I should know about?

    I've only used SSI a bit, and then only with .htaccess.

    Thanks,


  • If your web host supports SSI, this should be sufficient to keep you going.


  • Thanks - they support SSI OK, but not htaccess.

    Can I use the "name" entity to link to a specific part of a page on shtml? That's all I've changed, but those links are coming back page not found. I can't find any info on this!

    I've got:

    on the target page, and


    for my links to that page and place.


  • Originally posted by dbindel
    It should work fine... the file extension (.shtml) has nothing to do with how the browser interprets it. All of the SERVER-SIDE includes are performed on the server-side before it ever reaches the browser, so I have no idea why it wouldn't work. Can you post a link to the page?


    BTW, you ought to take out the value-less href attibute of the anchor. It's bad practice to use attributes without any value, and it has no use being there anyways.


    HTH,
    David Bindel

    It's OK now it's on the server - just wouldn't work when I tested it on my PC. Sorry about the typo - my brain knows what it wants, but my fingers type the HREF out of force of habit! Wait till you're old and barmy, like me - then you'll know what I mean. :D







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about SSI without .htaccess , Please add it free.