Kim, You will have to find some tutorials how to set up the server. I understand that you have already tried this but the following link might be helpful. The info you want is at the bottom of the page. http://www.roseindia.net/tutorial/php/phpbasics/Setting-Up-SSI-On-Wamp.html As for one file working while another doesn't, that usually is caused by a syntax or path error. This takes time to learn and recognize. Hang in there as it is worth the wait. The control you can have over your site makes it so. Lorrie On 02/13/11 17:23, Kim Mills wrote: > Nothing shows up locally when I add the date code. I know I must not have > something set right. :-( Would love to get it working though. > > But the template I was using I also can not get the includes to show up when > uploaded to rootsweb. > I've put it aside for the moment. > I downloaded another one of Pat's web templates and I'm editing that to get > the look I want. > When I change it to use includes using the same way I did with my other > template it shows up fine on rootsweb. I don't know why my other > plain/basic template wouldn't work. > > Kim > > ----- Original Message ----- > From: "Lorrie Laskey"<lrmalcom@bellsouth.net> >> <!--#echo var="DATE_LOCAL"" --> >> >> Tell me, when you try to view your includes on your computer, do see >> nothing, literally, or do you get error messages? If you get error >> messages, then the problem is the path. >> >> Lorrie > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1204 / Virus Database: 1435/3441 - Release Date: 02/13/11 > > > ------------------------------- > To unsubscribe from the list, please send an email to FREEPAGES-HELP-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message >
Thank you Lorrie. I went through the tutorial again and it still doesn't work. I also looked up a few more that were a little different, no luck. (sigh) It's so frustrating when something that seems so simple just wont work.... Kim ----- Original Message ----- From: "Lorrie Laskey" <lrmalcom@bellsouth.net> To: <freepages-help@rootsweb.com> Sent: Sunday, February 13, 2011 6:48 PM Subject: Re: [FreeHelp] include files? > Kim, > > You will have to find some tutorials how to set up the server. I > understand that you have already tried this but the following link might > be helpful. The info you want is at the bottom of the page. ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3441 - Release Date: 02/13/11
Kim, I know the feeling. So close but so far. This is out of my circle of knowledge. I am sending a link from Apache but it give the same info. Maybe someone with some server experience will come forth. http://httpd.apache.org/docs/2.0/howto/ssi.html Lorrie On 02/13/11 19:48, Kim Mills wrote: > Thank you Lorrie. I went through the tutorial again and it still doesn't > work. I also looked up a few more that were a little different, no luck. > (sigh) > It's so frustrating when something that seems so simple just wont work.... > > Kim > > ----- Original Message ----- > From: "Lorrie Laskey"<lrmalcom@bellsouth.net> > To:<freepages-help@rootsweb.com> > Sent: Sunday, February 13, 2011 6:48 PM > Subject: Re: [FreeHelp] include files? > > >> Kim, >> >> You will have to find some tutorials how to set up the server. I >> understand that you have already tried this but the following link might >> be helpful. The info you want is at the bottom of the page. > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1204 / Virus Database: 1435/3441 - Release Date: 02/13/11 > > > ------------------------------- > To unsubscribe from the list, please send an email to FREEPAGES-HELP-request@rootsweb.com with the word 'unsubscribe' without the quotes in the subject and the body of the message >
Enabling SSI - On your local Apache Server If the mod_include feature has been turned on in your server, and you want to use SSI, you can control the SSI parsing by using a .htaccess file. The following lines tell the server that any file named .shtml .shtm .html .htm should be parsed for server side commands... AddType text/html .shtml .shtm .html .htm AddHandler server-parsed .shtml .shtm .html .htm Options Indexes FollowSymLinks Includes This means that all s/html type files will be parsed for SSI directives by the server, and there will be a very small time impact of doing that - a millisecond or two. Bear in mind that if you require SSI directives on your index page, then you need to add the following line to your .htaccess file... DirectoryIndex index.shtml index.shtm index.html index.htm This allows a page named index.shtml or index.shtm to be your default page. If neither are found, index.html or index.htm will be loaded. To clear up any misunderstanding, a .txt file named in an Include is added to the html page after that page has been parsed by the server. Should the .txt file have an Include command within it, then the original .txt file needs to be renamed with a .shtml extension, and the server will also parse it and do the necessary. Now the .htaccess file needs to be added to your local root directory, and the best way of creating it is in you text editor and saving it as htaccess.txt. Load to the server as a binary file, and once there, rename the file to .htaccess (i.e. no extension). Hope that helps. NOTE: None of what I have spelt out can be done to the rootsweb/freepages servers. They are already configured to do exactly the same, and wont allow a .htaccess file to change their habits. Barry