June 20th, 2013, 10:03 PM
Using Server Side Includes w/HTML
Greetings, all! New guy here...
I'm re-coding the site now to use as a work sample on my portfolio site, and my laptop doesn't have IIS installed and I don't have an installation CD to install it from, therefore I can't view local asp files in my browsers. I've been uploading the files to my domain to test them, but my web host is getting flaky and I can't access their file manager.
So I'm trying to come up with a way to work the site locally, and thought I'd try renaming the default.asp file to default.shtml - Now I find that the SSIs aren't working in the shtml file
Am I missing something, or am I mistaken about using SSIs with shtml files?
June 20th, 2013, 10:29 PM
Service Side Includes are handled by the server (hence the name), so if you open the file directly in the browser without requesting it from an actual server they aren't going to be processed.
You can install Apache and use that instead of IIS.
You might also consider using something other than SSI, like PHP. Use of SSI is actually a lot rarer, so you're less likely to find support when using it.