[EMAIL PROTECTED] [SOLVED] Re: [EMAIL PROTECTED] Apache2 SSI XBitHack not working
On Sunday 11 December 2005 13:23, Joshua Slive wrote: > Nothing obviously wrong there > Are you absolutely sure that the section points to the > correct directory? Well, accidentally resolved the problem. Am testing the server on localhost, but the vhost ServerAlias didn't include localhost.localdomain and I was accessing the pages like so: http://localhost.localdomain/test/test.html. So, although it was returning the correct page, it wasn't processing it via INCLUDES. Once I put localhost.localdomain into the ServerAlias, and access it as http://localhost.localdomain/test.html, it correctly processes it. I know, entirely my fault, and just slightly outside the scope of where I was looking for the problem. Thanks for your help Josh. Jay - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [EMAIL PROTECTED] Apache2 SSI XBitHack not working
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: Options None AllowOverride None Options MultiViews Includes AllowOverride None Order allow,deny allow from all AddType text/html .html AddOutputFilter INCLUDES .html XBitHack on > 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: SSI Test Page -- -- 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 http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] Apache2 SSI XBitHack not working
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: Options -Indexes -FollowSymLinks AllowOverride None Options MultiViews +Includes AllowOverride None Order allow,deny allow from all XBitHack on I've tried it with XBitHack in one or the other s, or both. Also tried "XBitHack full". error.log (LogLevel debug): [Fri Dec 09 13:59:06 2005] [notice] SIGHUP received. Attempting to restart [Fri Dec 09 13:59:06 2005] [warn] NameVirtualHost *:0 has no VirtualHosts [Fri Dec 09 13:59:06 2005] [notice] Apache/2.0.54 (Ubuntu) configured -- resuming normal operations 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) 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. Since no one else seems to have this problem, it's probably something stupid-simple I'm doing wrong. If anyone has a clue or suggestion, it would be most welcome. Jay - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]