pison Posted July 10, 2012 Posted July 10, 2012 I have a menu file that I use SSI for, to include in the top of each of my page. Here's the code I'm used to using ... please critique and correct so it works here on heliohost ..... <!--#include virtual="/~kymercer/menu.txt"--> (this is what I used on my previous host, and it worked) I've changed the filename to menu.shtml, but don't know what to put in place of /~kymercer/ in order to get it to work. To see a page that should/would/could have this, go to http://kymercer.heli...rg/census/1860/ and do a 'View Source' to see how I have it now. It's obviously not right, and I can't find anything here to instruct me how to do it. Any help appreciated!
Hairy DJ Posted July 10, 2012 Posted July 10, 2012 Try adding the following code to the .htacess file of your main directory: AddType text/html .shtmlAddHandler server-parsed .shtmlOptions Indexes FollowSymLinks Includes
pison Posted July 10, 2012 Author Posted July 10, 2012 Thanks so much for answering. My .htaccess file was in the /public_html folder. I edited the lines you suggested into the end of the file and saved it, but it doesn't seem to have made a difference. I'm still tinkering :-) Thanks again. More suggestions welcome.
Byron Posted July 11, 2012 Posted July 11, 2012 SSI is already enabled on our servers so there's no need to edit the .htaccess file. This page: http://kymercer.heliohost.org/census/1860/ Should end in index.shtml http://kymercer.heliohost.org/census/1860/index.shtml Your menu.shtml should end in .txt This looks ok but you need to change it after you rename it to a text file. < !--#include virtual="../../menu.shtml"-->
Tjoene Posted July 13, 2012 Posted July 13, 2012 Glad your question got answered! Please spare a few minutes to take our brief survey: http://feedback.heliohost.org/ Your participation in this survey is greatly appreciated.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now