Re: [users@httpd] Apache2 SSI XBitHack not working

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

 



On Friday 09 December 2005 15:12, Joshua Slive wrote:
> Never mix "+" options and non-"+" options.  This can cause very weird
> effects, and may, in fact, be the cause of your problem below.  You
> probably want simply "Options Multiviews Includes"

Here's a revised vhost snip:
        <Directory />
                Options None
                AllowOverride None
        </Directory>
        <Directory /var/www/test>
                Options MultiViews Includes

                AllowOverride None
                Order allow,deny
                allow from all

                AddType text/html .html
                AddOutputFilter INCLUDES .html

                XBitHack on
        </Directory>

> So it didn't work with AddOutputFilter?  In that case, the problem has
> nothing to do with xbithack.  Please clarify.

Sorry, you're right. It processes .shtml files, but not .html files even with 
the AddOutputFilter, with/out XBitHack.

Here's the test file I'm using, pure text/html:

<html>
<head>
<title>SSI Test Page</title>
</head>
<body>
--<br>
<!--#echo var="DATE_LOCAL" -->
--<br>
</body>
</html>

So, it's handling the .shtml file through INCLUDES, but not .html? Any ideas 
how to debug this further? Thanks.

Jay

---------------------------------------------------------------------
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