SSI not working

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

 



This is driving me crazy....   ;-)
 
I have it working in my local win NT box but not on our Linux test server running 2.0.48.   (yea I know it's old but it's been working fine)
 
It's compiled in so I don't need to load the module, right?
[root@adgsit2web apache2]# /usr/local/apache2/sbin/httpd_wag -l
Compiled in modules:
  core.c
  mod_access.c
  mod_auth.c
  mod_include.c
 
I know I'm looking at the correct .conf file:
[root@adgsit2web apache2]# ps -aef | grep wag
root      1569     1  0 14:08 ?        00:00:00 /usr/local/apache2/sbin/httpd_wag -f /usr/local/apache2/conf/wag.conf -k start -DSSL
web       1570  1569  0 14:08 ?        00:00:00 [httpd_wag]
I've tried various combinations of directives but nothingseems to work.  Right now I have this:
<Directory "/usr/local/apache2/data/htdocs/noaccess">
    Options +IncludesNOEXEC FollowSymLinks
    AllowOverride None
    XBitHack full
   SSIErrorMsg "<!-- SSI Error -->"
</Directory>
 
Options +Includes

AddType text/x-server-parsed-html .shtml
.................
 
these are in my directory:
[root@adgsit2web apache2]# ls -al data/htdocs/noaccess
total 64
drwxrwxr-x    4 root     root         4096 Jul 18 13:54 .
drwxr-xr-x    7 root     root         4096 Oct 19  2011 ..
drwxrwxr-x    2 root     root         4096 Jul 18 10:27 images
drwxrwxr-x    2 root     root         4096 Jul 18 11:01 includes
-rwxrwxr-x    1 root     root         3872 Jul 18 12:57 index.html
-rw-r--r--    1 root     root         3904 Jul 18 13:47 index.shtml
and the include file exists:
[root@adgsit2web apache2]# ls -al data/htdocs/noaccess/includes
total 64
drwxrwxr-x    2 root     root         4096 Jul 18 11:01 .
drwxrwxr-x    4 root     root         4096 Jul 18 13:54 ..
-rw-rw-r--    1 root     root          805 Jul 18 11:01 header.html
Both index.html and index.shtml have directives like this:
<!--#include file="includes/header.html" -->
<!--#echo var=DOCUMENT_NAME encoding=url -->
But the files are not included (I also tried virtual).  Instead, I see the unprocessed comments when I view source.
Of course, I restart httpd if I modify the .conf and have even cold started.
 
What could be wrong?
 
The only difference I see is that on my NT box I am running a newer version and loading mod_include.so
C:\devtools\Apache2\bin>Apache.exe -v
Server version: Apache/2.0.59
Server built:   Jul 27 2006 15:55:03
 
Thanks,
Ed
 
 
 
 

[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