On Thu, 5 Jul 2001, Steve Torrence wrote:
> Does anyone know how to get SSI to work with OS X? I'm putting the
> following html in my page. When I use the url directly in the browser
> it works and shows the list of chatters but in the html it doens't
>
> Steve
>
> <HTML>
> <!--#include virtual="[$URL snipped]"-->
> </HTML>
Have you enabled SSI in Apache? The main config file is by default kept at
/etc/httpd/httpd.conf. In my setup -- close to the original, I think (been
a while since I tinkered with it) -- I have:
* uncommented the lines (~ line 200) [forget if they came commented...]
LoadModule includes_module libexec/httpd/mod_include.so
AddModule mod_include.c
* added includes to the main document folder
<Directory "/usr/local/apache/htdocs">
Options All Indexes FollowSymLinks MultiViews Includes
...directives, mostly to be left alone for now...
</Directory>
* uncommented the line (~800) in the <IfModule mod_mime.c> block:
AddType text/html .shtml
AddHandler server-parsed .shtml
And it seems to be working about right for me. I think I may have put the
/usr/local/apache bit in myself, symlinking the Apple-installed points to
a location I'm more used to typing. It looks like the real location might
be something like /usr/share/httpd or something like that. In any event,
the config file is the main one & you don't seem to be stuck on file
locations, so nevermind that I guess.
If your Apache has SSI enabled, are you still having problems?
--
Chris Devers [EMAIL PROTECTED]