RE: Enabling Server Side Includes in Apache2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 a 
bunch of gallery directories and that would be a pain to be honest.  

The one thing I don't know about is the include_module.  This is a Red Hat R5 Linux install configured as a webserver.  Is the include_module compiled
into Apache by default?  The RH install really didn't offer much in the way 
of customizations.  One thing I did do was to add these lines around the 
<Directory> code in the httpd.conf file.  I didn't realize they were needed. 

<Ifmodule mod_include.c>
</IfModule>

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. 

Greg
  

>Make sure all of the following are true:
>
>1. The file that contains the SSI directive actually ends in .htm or 
>.html (per your config)
>2. The file is located under /var/www/html
>3. The includes module (include_module) is being loaded in your config.
>
>Try checking your apache error log too to make sure it's not complaining 
>about anything.
>
>-- 
>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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux