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

RE: [cobalt-users] [Raq3] Server-side Includes and "XBitHack"



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Patrick
Beart
> Sent: Tuesday, 13 February 2001 3:27
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] [Raq3] Server-side Includes and
"XBitHack"
>
>
> Folks:
>
> 	I have enabled "Server-Side Includes" on several of my
> virtual sites (name-based, same IP address). Looking at the
Apache
> config file (httpd.conf), I noticed that a couple of these
sites have
> the "XBitHack" turned on, but I don't remember doing this.
> 	On one of the sites, I manually added the line "XBitHack on"
> and saved the change (I did this as "root", of course), but the
SSI's
> still don't work without the ".shtml" extension on the file.
What's
> up?

I believe the xBitHack will only work on files you've set as
exectuteable (chmod 755). Try that. Make sure they have the right
ownership for executing as well.

I wouldn't suggest setting .html as server-parsed for the entire
server - but it should be OK in the virtual site's config. It
depends on how many server-parsed files there are. If all the
pages are server-parsed for that domain, you may as well set it
than not. It turns out the same amount of work for the server in
the end. If there's only one or two files you need parsed, the
simplest solution is just to call them .shtml and not be
concerned with all the extra fiddling.

--
Donna Lever
Smart Artist Web Services
http://www.smartartist.com.au/