Re: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Charan
try this IfModule mod_include.c Directory /var/www/html AllowOverride None Options IncludesNoExec AddOutputFilter Includes .html AddType text/html .shtml AddType text/html .htm AddOutputFilter INCLUDES .shtml AddHandler type-map var

Re: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Justin Pasher
Greene, Gregory wrote: Directory /var/www/html Options Indexes FollowSymLinks Includes AllowOverride None Order allow,deny Allow from all AddType text/html .html AddOutputFilter INCLUDES .html AddType text/html .htm AddOutputFilter INCLUDES .htm /Directory I also tried experimenting

RE: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Greene, Gregory
I tried what Charan suggested but it didn't work either. In answer to what Justin asked, yes, my files that contain the SSI are in either .htm or .html. The files are in a subdirectory structure below /var/www/html. Do I have to specify the absolute directory path in the httpd.conf? I have

Re: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Justin Pasher
Greene, Gregory wrote: I tried what Charan suggested but it didn't work either. In answer to what Justin asked, yes, my files that contain the SSI are in either .htm or .html. The files are in a subdirectory structure below /var/www/html. Do I have to specify the absolute directory path in

RE: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Greene, Gregory
I found the loadmodule line in the httpd.conf file and confirmed that it is also listed out using httpd -M. I've got no errors in the logfile. It's like it just ignores the include code. I found something on a google search about changing the double quotes in the include line to single quotes

RE: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Iñigo Medina
Is there a way for me to tell if that module is enabled. Even with that in the httpd.conf it still doesn't work. Just type /etc/init.d/apache -l to get a list of modules. iñigo Greg Make sure all of the following are true: 1. The file that contains the SSI directive actually ends

RE: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Greene, Gregory
-Original Message- From: Greene, Gregory [mailto:gregory.gre...@unh.edu] Sent: Thursday, December 17, 2009 1:57 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Enabling Server Side Includes in Apache2.2 I found the loadmodule line in the httpd.conf file and confirmed that it is also

RE: [us...@httpd] Enabling Server Side Includes in Apache2.2

2009-12-17 Thread Greene, Gregory
greg -Original Message- From: Greene, Gregory [mailto:gregory.gre...@unh.edu] Sent: Thursday, December 17, 2009 1:57 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Enabling Server Side Includes in Apache2.2 I found the loadmodule line in the httpd.conf file and confirmed