Date: Wed, 24 Oct 2001 18:56:46 -0500 From: "Big B" <mail@crshjnke.com> To: <sabine225@home.com> Cc: "Freebsd-Questions" <freebsd-questions@freebsd.org> Subject: RE: apache stuff |more info Message-ID: <POEHKNGEFCLPFPNOFOEOEEIADAAA.mail@crshjnke.com> In-Reply-To: <0F18D399-C897-11D5-894E-0050E4050F42@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
After reading further I have added the following to my httpd.conf
Now it is not working and i am getting this error in my logs.
24 18:51:40 2001] [warn] [client 65.64.74.184] handler "server-parsed" not
found for: /usr/local/www/data/newspro/news.shtml
____________________________________________________________________________
___
If your page shows up blank, but when you look at the source, you see this:
<html>
<body>
<!--#include file="testssi.inc"-->
</body>
</html>
Then you haven't turned on SSI. Try again. I found this in my apache.conf:
#
# To use server-parsed HTML files
#
#AddType text/html .shtml
#AddHandler server-parsed .shtml
I uncommented those two lines, HUP'd apache:
and tried again. Still no success. So then I found this option "Includes".
So I added that to apache.conf under the directory in question.
<Directory "/www/test.freshports.org">
Options Includes
</Directory>
And then it worked.
______________________________________________________________________
> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of
> sabine225@home.com
> Sent: Wednesday, October 24, 2001 10:52 AM
> To: questions@FreeBSD.ORG
> Subject: Re: apache stuff
>
>
>
> Try just un-commenting them or adding:
>
> # Of course use your paths.
> LoadModule includes_module libexec/httpd/mod_include.so
> AddModule mod_include.c
>
> I'm working on configuring in mod_ssl right now after not having done a
> ./configure for a long time so it will all come back to me over the next
> few hours. If nobody else shows up with the answer I'll have it this
> afternoon.
>
>
>
> > Well that did not work.. after further notice mod_include is not
> > compiled into apache.
> > What would be the easiest way to add that to my current install of
> > apache.
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?POEHKNGEFCLPFPNOFOEOEEIADAAA.mail>
