httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Apache2 SSI XBitHack not working
Date Fri, 09 Dec 2005 20:12:40 GMT
On 12/9/05, WJG <wjg779-apache@yahoo.com> wrote:
> I'm trying to configure SSI on Apache2 (2.0.54) on Ubuntu 5.10 Breezy
> (Debian-based). I've got .shtml working, but can't get XBitHack to work.
>
> vhost config:
> <Directory />
>         Options -Indexes -FollowSymLinks

Are you sure you don't mean "Options None"?

>         AllowOverride None
> </Directory>
>
> <Directory /var/www/[mydir]>
>         Options MultiViews +Includes

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"

> ls -l index.*
> -rwxr-xr--  1 root root 3431 2005-12-08 22:35 index.html
> -rwxr-xr--  1 root root 3362 2005-12-08 01:30 index.shtml



>
> snip of index.html source (from Firefox or Konqueror)
> <!--#echo var="DATE_LOCAL" -->
>
> snip of index.shtml source (from Firefox or Konqueror)
> Friday, 09-Dec-2005 14:23:12 EST
>
> Clearly .shtml SSI is working, but XBitHack SSI is not. I've reviewed all the
> Apache2 docs and tutorials on SSI and XBitHack that I've found, and it all
> seems very straightforward. I've restarted any number of times, touched
> index.html since chmod-ing, forced browser refreshes, etc., etc.
>
> I've even tried adding
> AddType text/html .html
> AddOutputFilter INCLUDES .html
>
> to my vhost config.

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

If it did work with AddOutputFilter but not with xbithack, the most
likely explanation is that the file has a content-type other than
text/html.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message