?
Solved

Are SSI possible on Non-FrontPage sites??

Posted on 2006-05-11
9
Medium Priority
?
164 Views
Last Modified: 2013-12-24
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!
0
Comment
Question by:LuckyDuck5281
  • 5
  • 4
9 Comments
 
LVL 29

Expert Comment

by:coreybryant
ID: 16662683
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
0
 
LVL 1

Author Comment

by:LuckyDuck5281
ID: 16663001
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.
0
 
LVL 29

Expert Comment

by:coreybryant
ID: 16663050
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
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
LVL 1

Author Comment

by:LuckyDuck5281
ID: 16663059
Typo!!! Sorry... it IS .html in my code...
0
 
LVL 1

Author Comment

by:LuckyDuck5281
ID: 16663064
I'm getting a 404 error actually...
0
 
LVL 29

Accepted Solution

by:
coreybryant earned 2000 total points
ID: 16663238
Do you have a link and source code? Can you create the same page without the includes and see if that works?  Did you confirm with your hosting company they support SSI and if the included content can be an HTML extension (sometimes it needs to be a txt or inc extension)?

-Corey
0
 
LVL 1

Author Comment

by:LuckyDuck5281
ID: 16663344
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!


0
 
LVL 29

Expert Comment

by:coreybryant
ID: 16663397
Also make sure that SSI is enabled on the server as well

-Corey
0
 
LVL 1

Author Comment

by:LuckyDuck5281
ID: 16666374
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!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question