Cornerstones: Simple Server Side Includes Support Product Page
This topic was archived
What to do with Apache 2
Asked 22 Jun 2004 18:28:21
1
has this question
22 Jun 2004 18:28:21 Nigel Gale posted:
<font face='Tahoma'></font id='Tahoma'>Molly's article is basically sound, but I struggled to get Apache working. So just so no-one else struggles for several hours googling here's what I did.
I have Apache2Triad v1.2.2 installed, which is a good way to get Apache, PHP and MySQL installed plus some other goodies.
In my Httpd.conf file I had to uncomment:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Also add Includes to the Options for the root directory - htdocs
Then I added:
#ssi config
LoadModule include_module modules/mod_include.so
<IfModule mod_include.c>
AddHandler server-parsed .shtml
AddOutputFilter Includes .shtml .html .htm .php
</IfModule>
towards the bottom of my http.conf which load the includes module and defines the file type to be included.
Hope this helps.
Replies
Replied 24 Jun 2004 02:43:09
24 Jun 2004 02:43:09 molly holzschlag replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<font face='Tahoma'></font id='Tahoma'>
Molly's article is basically sound, but I struggled to get Apache working.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thanks so much, Nigel, this is very helpful info!
Molly <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
<font face='Tahoma'></font id='Tahoma'>
Molly's article is basically sound, but I struggled to get Apache working.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Thanks so much, Nigel, this is very helpful info!
Molly <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>