+ Reply to Thread
Results 1 to 10 of 10

Thread: Server side includes

  1. #1
    lydia09 is offline x10Hosting Member lydia09 is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    64

    Server side includes

    Hi everybody,
    I just have a quick general question, and searching the forums hasn't given me a clear answer. Can x10hosting handle server side includes in HTML? If anyone could answer this, I'd appreciate it.
    Thanks,
    Lydia

  2. #2
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Server side includes

    Are you talking about php includes? Yes of course they have those here.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  3. #3
    lydia09 is offline x10Hosting Member lydia09 is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    64

    Re: Server side includes

    Hi as4s1n,

    No, I'm not talking about PHP includes; I'm talking about this type:

    <!-- #include virtual="myFile.html" -->

    Thanks,
    Lydia

  4. #4
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Server side includes

    Yes, ASP works on this host but it's a tricky setup. I don't want to bother with it so I just use PHP but you will have to look around to find it.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  5. #5
    lydia09 is offline x10Hosting Member lydia09 is an unknown quantity at this point
    Join Date
    Dec 2009
    Posts
    64

    Re: Server side includes

    Thanks again,
    If the setup is that tough, I'll have to give it some more thought. Thanks for the info, though.
    Thanks,
    Lydia

  6. #6
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Server side includes

    I don't know whether it's hard per se, it's just more work than I really wanted to do.
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  7. #7
    Hello71 is offline x10Hosting Member Hello71 is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    14

    Re: Server side includes

    That's SHTML, not ASP.

  8. #8
    as4s1n's Avatar
    as4s1n is offline x10 Sophmore as4s1n is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    Washington State
    Posts
    174

    Re: Server side includes

    Isn't it both? Cuz the little I know about ASP is includes
    There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.

  9. #9
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Server side includes

    Server side includes were introduced by NCSA HTTPd sometime before 1997, the precursor to Apache's httpd. Actually, considering Apache has supported SSI since at least 1996, NCSA HTTPd must have had it before that. IIS includes support for SSI, but ASP is an entirely separate technology.

    @lydia09: It'd be odd for a server not to support SSI. Remember, you can always try something to see if it works.
    Last edited by misson; 04-26-2010 at 11:21 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  10. #10
    rdurost is offline x10Hosting Member rdurost is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    1

    Re: Server side includes

    Quote Originally Posted by lydia09 View Post
    Hi as4s1n,

    No, I'm not talking about PHP includes; I'm talking about this type:

    <!-- #include virtual="myFile.html" -->

    Thanks,
    Lydia
    Hi Lydia-

    I'm just trying SSIs today for the first time myself, and I discovered that the secret is to give all the files which contain includes an extension that begins with "S", e.g. .shtm, .shtml, etc.:

    http://en.wikipedia.org/wiki/Server_Side_Includes

    "In order for a web server to recognize an SSI-enabled HTML file and therefore carry out these instructions, either the filename should end with a special extension, by default .shtml, .stm, .shtm, or, if the server is configured to allow this, set the execution bit of the file."

    Have fun!

    Richard

+ Reply to Thread

Similar Threads

  1. Do you think we should convert all scripting to server side scripts
    By lhyman in forum Scripts & 3rd Party Apps
    Replies: 1
    Last Post: 08-21-2009, 08:19 PM
  2. Server Side Includes and Dreamweaver
    By kirtik in forum Programming Help
    Replies: 1
    Last Post: 09-02-2008, 06:59 AM
  3. Server-side includes SSI
    By frankfriend in forum Free Hosting
    Replies: 2
    Last Post: 03-20-2008, 05:25 AM
  4. Server-side XSLT with PHP
    By yahia in forum Free Hosting
    Replies: 2
    Last Post: 03-22-2007, 09:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers