I've been trying different things that I run across on google searches but so 
far nothing seems to work.  It seems so simple yet is beyond me right
now.  My latest attempt had me adding a wildcard to the path in the directory 
line but it didn't help.  

Current config:

<IfModule mod_include.c>
<Directory "/var/www/html">
    Options Indexes FollowSymLinks IncludesNoExec
    AllowOverride None
    AddType text/html .html
    AddOutputFilter INCLUDES .html
    AddType text/html .htm
    AddOutputFilter INCLUDES .htm
    Order allow,deny
    Allow from all
    XBitHack on
</Directory>
<Directory "/var/www/html/*">
    Options Indexes FollowSymLinks IncludesNoExec
    AddType text/html .html
    AddOutputFilter INCLUDES .html
    AddType text/html .htm
    AddOutputFilter INCLUDES .htm
    AllowOverride None
    Order allow,deny
    Allow from all
    XBitHack on
</Directory>
</IfModule>

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 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 but
that didn't help.  I also used the addhandler directives that were an older
usage but that didn't work either.  

Not really sure what's going on.  Not much to go on.  I would really like to 
avoid going back to a Windows server.    

Greg

>I can't give specifics for httpd under RHEL, but you're looking for a 
>line that is similar to this:
>
>LoadModule include_module /usr/lib/apache2/modules/mod_include.so
>
>To determine which modules are loaded into the server (both static and 
>dynamic), run "httpd -M". The <IfModule> directive simply checks to make 
>sure the module is loaded before attempting to set the directives within >it.
>
>Make sure you check your Apache logs too for any errors or notifications.
>
>-- 
>Justin Pasher

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to