Server side includes: outdated and not supported by host?

I've been using SSI's for ages with no problem from any host. Recently I signed up with a new web hosting company, one of the more established ones in the Seattle area. They do not support SSI's and claim that using them is not safe and is not a modern approach to web design. They suggested I use a more advanced programming language to create my sites, such as ASP.NET (something I have no desire to do).
Are server side includes outdated and no longer the way to do things? I find that hard to believe.
-Jesse

Are server side includes outdated and no longer the way to do things? I find that hard to believe.
That language is from Microsoft who seem to think so along with Windows based hosting providers offering ASP.NET.
IIS no longer comes with SSI installed by default. It has to be configured by the hosting provider.
http://blogs.iis.net/robert_mcmurray/archive/2010/12/28/iis-notes-on-server-side-includes- ssi-syntax-kb-203064-revisited.aspx
However, classic SSIs (in the sense of including static content from one page inside another) are still one of the most powerful, safe and flexible tools for managing repetitive page elements in any web page. Not to mention easy.
ASP.NET has its own way of doing the equivalent of SSIs - and lots more beside but much of which does not interest web designers at this stage.
http://stackoverflow.com/questions/894720/asp-net-equivalent-of-server-side-includes
http://searchsoftwarequality.techtarget.com/answer/Alternatives-to-server-side-includes-fo r-ASPNET

Similar Messages

  • How do I upgrade my browser?  It is apparently outdated and not supported by many applications.

    How do I upgrade my browser for MacBook Pro, Safari 5?  It is apparently outdated and not supported by many applications.

    You need to either upgrade the computer’s OS(this isn't possible on a Core Duo Mac) or switch browsers.
    (117225)

  • Making drop down menus in server side includes

    Can drop down menus be part of a server side include? If not,
    how do I have drop down menus in my pages without copying the code
    to all the pages individually?
    I am working in Dreamweaver 8 on a Mac. I've made the drop
    down menus using the behaviors window. Everything is fine in the
    original html file. When I use the file as an include in my main
    page, the javascript drop downs do not work. I have the style sheet
    used in the drop down file attached to the main page. What do I
    need to do with the main page to have the drop down menu work? I
    need to use this drop down on the majority of my pages. Thanks!
    Note: I've taken out the extra code in the include file
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head> <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1" /> <title>Untitled
    Document</title></head><body></body></html>

    > Can drop down menus be part of a server side include?
    Sure - it's the only way I do them.
    > I've made the drop down menus using the behaviors window
    That's too bad. You will want to read this -
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    There are MUCH better ways -
    Check the uberlink and MacFly tutorials at PVII -
    http://www.projectseven.com/
    and the Navbar tutorial/articles at Thierry's place
    http://tjkdesign.com/articles/dropdown/
    Or this one (more recent article):
    http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp
    Or to get it done fast, go here -
    http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "aacjp" <[email protected]> wrote in message
    news:[email protected]...
    > Can drop down menus be part of a server side include? If
    not, how do I
    > have
    > drop down menus in my pages without copying the code to
    all the pages
    > individually?
    >
    > I am working in Dreamweaver 8 on a Mac. I've made the
    drop down menus
    > using
    > the behaviors window. Everything is fine in the original
    html file. When I
    > use
    > the file as an include in my main page, the javascript
    drop downs do not
    > work.
    > I have the style sheet used in the drop down file
    attached to the main
    > page.
    > What do I need to do with the main page to have the drop
    down menu work? I
    > need
    > to use this drop down on the majority of my pages.
    Thanks!
    >
    > Note: I've taken out the extra code in the include file
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html
    > xmlns="
    http://www.w3.org/1999/xhtml">
    <head> <meta
    > http-equiv="Content-Type"
    > content="text/html; charset=ISO-8859-1" />
    <title>Untitled
    >
    Document</title></head><body></body></html>
    >
    >

  • Server Side Includes and Divs

    I have a template (dwt) for my site with editable regions for
    menus. I want to use Server Side Includes for the menu, as not all
    the pages will have the same menu.
    I have designed the site template (and pages) with css and
    divs. The area for the SSI is a div of size 145x335. The menu which
    I want to put inside this div will be a div based menu. I havent
    had any luck displaying the Div from the SSI yet. I have been
    looking on Google for help, but not much luck. I can get the Div to
    appear but the formatting doesnt show up.
    Im putting the SSI code in where I want it on the page, but
    im not sure exactly which code to get rid of in the shtml file. I
    know I need to remove body, head parts etc
    My site template uses CSS stored on the document, not an
    external css file.
    Any ideas?

    > Im sure Ive not got it right yet!! My head wont work
    lately!
    Yes. It's not working well here, either.
    Create your template with the editable region. In it, have
    links to a) the
    general stylesheet for all the pages, and b) the general
    stylesheet for all
    of the includes (these don't really need to be separate
    files). Spawn a
    child page, drop in the desired include, and save that page
    as
    whocares.shtml.
    That's it....
    The incude files themselves can be names anything you want -
    I like the
    'monkeybutt' extension, e.g.,
    yourinclude.monkeybutt
    The include files can make reference to CSS selectors, but
    cannot have
    embedded CSS rules, or links to external CSS files.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "~Billy~" <[email protected]> wrote in
    message
    news:eq234v$eq6$[email protected]..
    > Ive made myself confused now! I need it spelling out to
    me!
    >
    > Ok, a template file (dwt) with its css as an external
    style sheet.
    >
    > Rest of the sites pages made from the template file.
    >
    > Next, the template has one editable region for a choce
    of 2 div based
    > menus to
    > be placed into. Place either of these div menus into the
    template editable
    > region by creating two seperate SHTML files - one for
    each menu with the
    > body/head removed(and with internal or external css?)
    >
    > Next put the SSI code into the body of the template
    where I want the SSI
    > to
    > appear.
    >
    > Im sure Ive not got it right yet!! My head wont work
    lately!
    >

  • Are nested server side includes supported in DW?

    Using DW 5.5 on Win 7, Apache 2.2 setup. Does DW Design view support nested server-side includes? I have to work on an old legacy site with nested ssi's that I haven't worked on for quite awhile, and I noted that while working on a page the left side column was not displaying in Display mode, so where the left column should be is just an empty blank div.
    I could swear that DW used to display the nested ssi's, but looking at it now, it certainly isn't.
    The left side column is just a div that is ssi included in the bodies of the pages ( nothing special ). It ssi includes various pieces such as news, announcements, etc. Everything displays fine on the website, but in the Design view the nested SSI's don't display.
    Thanks,
    Doug

    Ken, yes it's an include(s) inside an include. In this case the leftcolumn.html is server-side included in all the pages on the site. Inside the leftcolumn.html are four server-side includes for announcements, news, calendar, and next meeting info. Each of those are separate .html files that are constantly edited. It makes things nice and neat and I can give permission to other people to edit the individual files without screwing up the leftcolumn.html or the whole page. So leftcolumn.html is just a div with a width/margins/background color class and the four server-side includes. Of course you have to tell IIS or Apache you want to allow .html files to use ssi's, but that is simple enough and I think nicer than using .shtml's. YMMV.
    What I thought I remembered was that the left column was fully displayed in the Split or Design modes, but I guess I was wrong. All I see is an empty leftcoumn div that has the proper width and background color. I work almost exclusively in DW code view or sometimes Split View, or use another editor like Brackets or CFBuilder, and just switch to a browser to view the pages.
    Doug

  • Server Side Includes not displaying in DW CS3 design view

    I have this code in my page (see below):
    When I open the file in Dreamweaver MX 2004 in design view,
    the page displays correctly. That is, I see the correct styles from
    the style sheet contained in Head_Standard.html and the logo/menu
    in Logo_TopMenu.html
    When I open the page in DW CS3, I do not see the effects of
    the style sheet and I do not see the logo/menu.
    However, when I change the code for the first include from:
    virtual="/ServerSide
    to
    virtual="
    ../../ServerSide
    then the page renders correctly in Dreamweaver CS3.
    My first reaction was: what?! And my question is: how do I
    use a root reference inside the head and get it to display properly
    in DW CS 3?

    "Go to Edit > Preferences > Invisible Elements >
    Server-Side Includes (Check this box) to show contents of included
    file"
    I already do this.
    For me:
    /ServerSide... does NOT work
    ../../ServerSide... works
    So, a relative reference works and a reference to the root
    does not. I have over 20 websites with root references and I need
    this to work in DW9.

  • Server Side Includes not rendering correctly in Firefox with Layers

    Hi
    The server side includes are not correctly rendering with layers in firefox. From my site here:-
    http://www.osteriastecca.com/index.php
    the home_page.php content renders above a layer on the index.php page. Initially I thought this might be a Flash layer issue but the wmode is set correctly to transparent and it works fine with a normal ssi. It also works fine in Firefox without a server side include as you can see here:-
    http://www.osteriastecca.com/index_old.php
    Works fine in IE and Safari, but not Firefox.
    How can this be rectified?
    Regards
    Glennyboy

    What testing server setup do you have? Are you using something like WAMP?
    What do you see on screen which tells you the SSIs are not rendering? Any error message?

  • Server Side Includes for Apache and parsing text files

    I have an old website I used to do zipped up and I decided to set it up on my personal webserver in OS X . I got apache configured to allow server side includes (edited the httpd.conf to all them:
    <Directory />
    Options FollowSymLinks Indexes MultiViews Includes
    AllowOverride None
    </Directory>
    But I can't get the pages to come up. See I have this .shtml page which loads fine and a part of it has this line:
    <!--#include file="news/news.txt" -->
    But it won't parse that txt file and show the html that its formatted in.
    Anyone have any ideas on how to get it to parse that txt file? Even if I load just that txt file it shows raw code not it formatted. Please help.

    Ignore that first reply. I thought I was dealing with server.
    As usual, I fogot to make sure that Includes was in the Options directive for the DOCUMENT_ROOT or VirtualHost. After 10 years, you'd think I'd remember that. I just configged one of my macs to do SSI. Here's the 3 lines that I changed:
    Line 399 (the DOCUMENT_ROOT definition): Options Indexes FollowSymLinks MultiViews Includes
    Line 887 (To use server parsed HTML): AddType text/html .shtml
    Line 888: AddHandler server-parsed .shtml
    apachectl restart
    and off it went!
    Roger

  • Server-side includes not showing in new DW CS5.5. Any suggestions?

    I have used DW for years and years and have never had any problems. I just installed CS5.5 and am not seeing my php includes in the design pane. I've searched the forums but have not found a working answer.
    I'm editing files I've edited in CS5 and earlier with no problem.
    I've checked the server-side includes box in the configuration but no change occurs.
    Does anyone have any suggestions?

    What testing server setup do you have? Are you using something like WAMP?
    What do you see on screen which tells you the SSIs are not rendering? Any error message?

  • Tabbed panels, Collapsible Panel, and Server Side Include

    Hi,
    I'm having a problem with the way a Server Side Include inside a Collapsible Panel displays.
    Here is how this particular page is set up.
    The page has spry tabbed panels.
    >>A panel has one overall Collapsible panel (the main product tab)
    >>>>Nested in that Collapsible panel are four other collapsible panels (Overview, Features, Screenshots, What's New).
    >>>>>>In each of these four collapsible panels is a server side Include that features that category's content
    E verything works fine as far as opening and closing is concerned. However, the problem is with the display. The content panel doesn't resize with the Include content, and therefore, the Include content extends outside the border of the content panel.
    I'm thinking this is because it is Include content rather than normal content. Is that right?
    Do I fix this by changing the overflow value of one the Tabbed Panel CSS styles? If so, which one should I change, and to what value?
    Or if that's not how to fix it, can anyone tell me how?
    Thanks a lot,
    Mike

    Hi, I'm using the latest version of Spry. I modified some CSS rules of the tabbed panels, but not the javascript file. I didn't do anything to the Collapsible Panel rules.
    Since first posting this thread, I changed the overflow of the Tabbed Panels Content Group CSS rule to "scroll". That did produce a scroll, but I'd much rather have the panel expand. So, I changed it back the way it was.
    Here's the page I'm working on. Click the Court Solutions tab to get to the problem panel.
    http://www.ptssolutions.com/Test/public_safety_products_3.shtml
    It has different results in IE and FireFox, but doesn't work correctly in either.
    Thanks a lot for all your help,
    Mike

  • Server side include does not appear in browser

    I've imbedded a server side include within an html file. I
    can see it in the Dreamweaver design previewer, but it does not
    appear when displaying the html in a browser. I've tried saving the
    included file as "html", "htm", "shtml", and "shtm". Nothing seems
    to work.
    Any guesses?

    On apache, you have to use either shtm(l), or PHP. And in the
    event that
    you use the latter, the include directives must be PHP
    includes, not HTML
    includes, e.g., this -
    <?php require('includes/foo.php') ?>
    not this -
    <!--#include file="includes/foo.inc" -->
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Dave Bar" <[email protected]> wrote in message
    news:frbps3$f6o$[email protected]..
    > Interesting you mention this, I was just experementing
    with this today.
    > I traditionally use .asp and IIS when using Include
    techniques.
    >
    > I have a client on an apache server, and they can't run
    asp, so I had to
    > test using html.
    >
    > This is what I found.
    > Since I'm running IIS, I had to use shtml (their apache
    server may run it
    > with regular html).
    >
    > I also had to make sure I was using the IIS Localhost in
    my url.
    > so this worked:
    >
    http://localhost/tests_and_examples/TEMP/TestInclude.shtml
    >
    > While this did not:
    >
    http://localhost/tests_and_examples/TEMP/TestInclude.html
    (notice the
    > missing s in shtml)
    >
    > And this did not:
    >
    file:///C:/Inetpub/wwwroot/tests_and_examples/TEMP/TestInclude.shtml
    > (Notice a regular file:/// instead of using IIS
    localhost)
    >
    > Hope that helps
    > -Dave
    >
    > "rsimmons1957" <[email protected]>
    wrote in message
    > news:frboib$dn5$[email protected]..
    >> I've imbedded a server side include within an html
    file. I can see it in
    >> the
    >> Dreamweaver design previewer, but it does not appear
    when displaying the
    >> html
    >> in a browser. I've tried saving the included file as
    "html", "htm",
    >> "shtml",
    >> and "shtm". Nothing seems to work.
    >>
    >> Any guesses?
    >>
    >
    >

  • Server Side Includes and Javascript

    Can one safely include javascript in a server-side include
    (SSI) file? It seems to work but don't know if it will create
    problems down the line. I am using a roll-over navigation bar
    created and generated in Fireworks. It seems to defeat the purpose
    of using SSI if you can't include the javascript since if there was
    a change at some point to the navigation bar you would have to
    change the javascript that went with it. And it is nice to keep all
    that extra coding out of every file on the site. IS there an
    official word on this or some process in creating a SSI file that
    could prevent any problems?
    You can see the file I created using this at
    http://www.hopkinsandporter.com/test.shtml

    > Can one safely include javascript in a server-side
    include (SSI) file?
    Yes, but it makes your parent page's derived code messy.
    > I am using a
    > roll-over navigation bar created and generated in
    Fireworks.
    This is a big mistake for so many reasons.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "TSemmes" <[email protected]> wrote in
    message
    news:e52id2$pt1$[email protected]..
    > Can one safely include javascript in a server-side
    include (SSI) file? It
    > seems
    > to work but don't know if it will create problems down
    the line. I am
    > using a
    > roll-over navigation bar created and generated in
    Fireworks. It seems to
    > defeat the purpose of using SSI if you can't include the
    javascript since
    > if
    > there was a change at some point to the navigation bar
    you would have to
    > change
    > the javascript that went with it. And it is nice to keep
    all that extra
    > coding
    > out of every file on the site. IS there an official word
    on this or some
    > process in creating a SSI file that could prevent any
    problems?
    >
    > You can see the file I created using this at <a
    target=_blank
    > class=ftalternatingbarlinklarge
    > href="
    http://www.hopkinsandporter.com/test.shtml">http://www.hopkinsandporter.co
    > m/test.shtml</a>
    >

  • Server Side Includes and php

    I have php forms on a site update.  I want to use a server side include to keep the dynamic menu off the template.  The include works on the home page and other .shtm pages, but not on the php.  This can't be impossible.  What's the hint?  I can't (or can I) save the php as .shtm. and the thread will not allow any of the file types to be attached.  Ergo ... the link:http://shrhabitat.org/index09.shtm, the include: http://shrhabitat.org/includes/hfhshrmenu.lbw, the contact form: http://shrhabitat.org/contactus.php
    don Carlos de la Playa

    Alrighty then,  What I did was add both html and php include code to the template.  It seems to work without duplication.  For the experts in the crowd, will this blow up in my face someday?  As near as I can tell, I just need to ensure that any changes are made to both files which, after all, clones of one another.
    Ya'll have a fine Virginia day, now. Y'hear?
    don Carlos de la playa

  • Server Side Include not functioning the same across website

    digitaldealershipsystem.com
    <!--#include file="/includes/navigation.php" -->
    ** this is the navigation pulldown.
    This works on most of the main pages
    When you go to
    digitaldealershipsystem.com/live.html
    digitaldealershipsystem.com/live2.html
    digitaldealershipsystem.com/live3.html
    The same is included but does not work on Chrome, but does work on Firefox
    To restate, the naming is the same on all web pages, and it works on Chrome -- except for these "live" pages
    On Firefox, they work on all pages, included live pages
    For testing purposes on the following page, I tried 'virtual' file and that did not change the results in either browser
    digitaldealershipsystem.com/live4.html
    My thoughts:
    If there is a conflict on the page, then why only is Chrome being effected
    Any ideas?

    If clearing the cache does not help, then check your code validation - you have several errors. Server side includes are browser independant - because they are assembled on the server, not the client. If there's a difference in rendering between browsers, it has to do with your html/css and has nothing to do with SSI.

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

Maybe you are looking for

  • ORA-01722: invalid number error with Bulk collect

    Hi , I have been using the script to delete old seasonal data from my application DB tables. The stored procedure has been created successfully but when i try to run the proc it has been throwing 'ORA-01722: invalid number' exception at line 'FETCH C

  • How can I recover deleted iPhoto photos

    Hello, Just a few weeks ago, I noticed my hard drive was nearly to capacity on my imac, so thanks to the boards here, I moved my entire iPhoto library to an external hard drive.  The move was successful, however, recently I was organizing photos in i

  • I-tunes keeps saying that my card can't be used for payments in the uk.

    After been away from I-tunes for over a year now, I have returned and attemptted to purchase music. I-tunes asked me to confirm my payment details but keeps stating that my card can't be used for payment in the uk. I've carefully checked the details

  • Bridge Adds Border on PDF Document

    I have a series of JPEGS that are all 8.5" x 11" and 300 DPI. When I try to make them into a PDF with 1 picture per page, the PDF has a white border around each picture. The border is small, and is larger on the sides and bottom than it is on the top

  • FRM-41214 Error when calling a report

    Hello, when I try to call a report from forms I've this error: FRM-41214 - can't run report The reports server is running local and I'm using Forms 10. Can anybody help me? Thanks, Raúl This is the code I'm using: PRINT_REPORT('Boletas', '\\sbd\Fuen