View previous topic :: View next topic |
Author |
Message |
gentle_ben -
Joined: 07 Nov 2003 Posts: 2
|
Posted: Fri Nov 07, 2003 11:52 am Post subject: SSI = nothing, after setting everything up! |
|
|
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 |
 |
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri Nov 07, 2003 12:50 pm Post subject: |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Nov 09, 2003 3:42 am Post subject: Re: SSI = nothing, after setting everything up! |
|
|
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 |
|
 |
gentle_ben -
Joined: 07 Nov 2003 Posts: 2
|
Posted: Tue Nov 11, 2003 11:13 am Post subject: |
|
|
**slams head on desk**
Thnx |
|
Back to top |
 |
 |
|