SSI = nothing, after setting everything up!

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


Joined: 07 Nov 2003
Posts: 2

PostPosted: Fri Nov 07, 2003 11:52 am    Post subject: SSI = nothing, after setting everything up! Reply with quote

Ok, I have done everything that should enable SSI

code looks like:
<!--#include virtual="/metadata.inc"-->

I have included 'inc' files for SSI. I have set SSI to be on.

Everything.

When I view 127.0.0.1 on my computer (using Abyss for testing - using CVS because I dont edit on a live site) or on any other machine. The include files do not work. When I view the source in IE, I see "<!--#include virtual="/metadata.inc"-->" instead of the data in metadata.inc.

I have confirmed:
1) The file exists
2) My syntax is correct
3) I get the same results on other networked computers
4) SSI is turned on
5) The extension inc has been added
6) the server has been restarted many times

Whats the deal?
Back to top View user's profile Send private message MSN Messenger ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Nov 07, 2003 12:50 pm    Post subject: Reply with quote

Server Side Includes - Problem

Ok , I can help you on this because im good at this
Website configuration , did you rename your .html to .shtml

Quick Tip:

You can also type an extension for a SSI as .html so you
can run the script in a regular html page. Later! :D
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Nov 09, 2003 3:42 am    Post subject: Re: SSI = nothing, after setting everything up! Reply with quote

gentle_ben,

It is the file that contains this directive that must have its extension declared as an SSI extension. In short, you can rename your file from .htm or .html to .shtml (as already suggested by TRUSTPunk).
Adding inc to the SSI extensions doesn't matter since it isn't the file that must be processed by the SSI engine.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
gentle_ben
-


Joined: 07 Nov 2003
Posts: 2

PostPosted: Tue Nov 11, 2003 11:13 am    Post subject: Reply with quote

**slams head on desk**

Thnx
Back to top View user's profile Send private message MSN Messenger ICQ Number
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