SSI (I am doing something -- possibly everything ---wrong)

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
lewtwo
-


Joined: 01 Jan 2011
Posts: 1
Location: US

PostPosted: Sat Jan 01, 2011 7:29 am    Post subject: SSI (I am doing something -- possibly everything ---wrong) Reply with quote

I wanted a simple web server so I could work on my web site and have a common header/foot .... and maybe a few other common items. SSI <!--#include ...> looked like the appropriate solution. Alas I can not get any SSI directive to work. I admit that the cause of the problem is my gross ignorance and plead for help for anyone who might have mercy on me.

Code:
(index.html) ---------------------------------------
<html>
<head>
   <title>Test page</title>
   <meta name="GENERATOR" content="NOTEPAD.EXE">
</head>
<body text="#000000" bgcolor="#FFFFFF" link="#FFFF00" vlink="#FFFFF0">
The next line should be an included file h1.shtml.
<br>
<!-- #include virtual = "h1.shtml" -->
<!-- #include virtual = "/h1.shtml" -->
<!-- #include virtual = "../h1.shtml" -->
<!--#include virtual = "../h1.shtml" -->
<br>
The next line should be an included file h2.shtml.
<br>
<!-- #include file = "h2.shtml" -->
<!-- #include file = "/h2.shtml" -->
<!-- #include file = "../h2.shtml" -->
<!--#include file = "../h2.shtml" -->
<br>
<!-- #echo var="REMOTE_ADDR" -->
<!-- #printenv -->
<br>
XXX
</body>
</html>

(h1.shtml) ---------------------------------------
<html>
Test Include file (h1.shtml)
</html>

(h2.shtml) ---------------------------------------
Test Include file (h1.shtml)


The only thing that shows in the browser (Google Chrome and IE8) is:
--------------------------------------
Code:
The next line should be an included file h1.shtml.

The next line should be an included file h2.shtml.

XXX

--------------------------------------

I searched for SSI on the forum.
XSSI Processing is enabled.
Error Message and Time format String are blank.
XSSI extensions are "shtml, shtm, stm"
XSSI path is "/"
ASP.NET Applications Virtual Path is "/"
Scripting is enabled.
No scripting parameters are set.
Scripting Interpreters, Script paths, Customer Enviroment Variables are Blank.

Operating environment is Windows XP Professional with all services packs and patchs running in a VM under VMWARE workstation 7.1.3.

Any help is very much appreciated.
Back to top View user's profile Send private message Visit poster's website AIM Address
admin
Site Admin


Joined: 03 Mar 2002
Posts: 939

PostPosted: Sun Jan 02, 2011 3:17 pm    Post subject: Re: SSI (I am doing something -- possibly everything ---wron Reply with quote

lewtwo,

A file which contents should be processed as SSI must be named with .shtml as its extension. In your example, you've called that file index.html which made it unprocessed by the SSI engine.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
sborder
-


Joined: 17 Apr 2012
Posts: 2

PostPosted: Sun Apr 22, 2012 12:50 am    Post subject: Reply with quote

The server I'm on I can use "XBitHack on" to allow my html pages to work with SSI. Does XBitHack work with the Abyss server?

Thanks
steve
Back to top View user's profile Send private message
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Mon May 07, 2012 2:50 pm    Post subject: Reply with quote

sborder,

You can achieve the same feature as XBitHack in Abyss Web Server by adding .html and .htm as extensions that are associated with SSI.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group