Link to home
Start Free TrialLog in
Avatar of LuckyDuck5281
LuckyDuck5281Flag for United States of America

asked on

Are SSI possible on Non-FrontPage sites??

Hello,

          I wanted to know if it was possible to setup server side includes into a directory that doesn’t have FrontPage extensions installed on it and how?  Everything I see on the web leads me to believe my include statements will still work, but they aren't...

Thanks!
Avatar of coreybryant
coreybryant
Flag of United States of America image

Yes - SSI has nothing to do with Frontpage extensions.  

What are you using to include your files?  Are your main files with the proper extension?

-Corey
Avatar of LuckyDuck5281

ASKER

I have renamed the files that contain the include statements to be .shtml the rest of my statements are plain .html
I am using the include statment: <!--#include file="ea_antos_matthew.shtml" -->
I have checked IIS and it is configured for SSI....

Thanks.
If you have renamed them to html then your include statement should be
<!--#include file="ea_antos_matthew.html" -->

And when you say directory (above) is ea_antos_matthew.html in the same folder?


-Corey
Typo!!! Sorry... it IS .html in my code...
I'm getting a 404 error actually...
ASKER CERTIFIED SOLUTION
Avatar of coreybryant
coreybryant
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No link and source code... it's an internal development server...
I will have the developer try the last one... making his include file a .inc...

Thanks!


Also make sure that SSI is enabled on the server as well

-Corey
The server was enabled... first thing i checked  :)
Turned out to be a problem with the file extensions needing to be .inc in this case.

Thanks!