Can anyone help a new user of Apache2.2? I'm trying to enable SSI on the
server but don't seem to
be having much luck. I've looked on google and in the FAQ and put into place
what seems to be fairly
straightforward edits but it never works. Hoping someone can point me in the
right direction.
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
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
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
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
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
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
-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
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