How to add SSI

D

Doug Stewart

I want to add a short SSI to a page in FrontPage. I'm told that I need to
rename the page from HTML to SHTML (other advice suggests .ASP). How do I do
this? I tried going into VIEW FOLDERS and changing the filename from .htm to
..shtm, but this didn't work.

Also, do I store the result in HTTPDOCS or HTTPSDOCS? Does FrontPage
automatically sort this out?
 
P

p c

Does your web server (not the FP web) support ssi? What are the commands
for the specific server.

If you are using IIS to host the site, name the fiel with a .ASP
extension and nlude this line in the HTML view where want the insert

<!--#include file="general.asp"-->

general.asp is the name of the file whose content you want to insert in
the page (in the HTML) at that point. The content can be text, HTML or
script and you can name the file whatever you want.

You can also have the directive as a URL like this
<!--#include virtual="general.asp"-->
amd you can use with relative or absolute path.

IIS6 (Win2006) default installation for "security", disallows parent
paths, i.e you cannot walk the directory structure backwards.

...PC
 
M

MD Websunlimited

Hi Doug,

Contact your ISP / WPP.

Also it would be .stm for the extension.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top