Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 1998 14:49:21 -0800 (PST)
From:      Burton Sampley <bsampley@best.com>
To:        questions@FreeBSD.ORG
Subject:   Apache and SSI
Message-ID:  <Pine.BSF.3.96.980320142255.372A-100000@bsampley.vip.best.com>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Greetings,

Can someone please enlighten me on how to get server side includes
working on Apache 1.2.5.  I have tried reading the documentation at
www.apache.org.  They say to add:

	AddHandler server-parsed .shtml
	AddType	   text/html	 shtml

to http.conf.

I did and this still doesn't work.  If I try a simple .shtml document such
as:

<!DOCTYPE HTML "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
</HEAD>

<!--#flastmod file="bs.shtml"-->
</HTML>

I get nothing but a blank screen.  The only modifications I have made to
the conf files were to change stuff like ServerName.  I also located the
AddHandler commands in srm.conf and uncommented them and -HUP'ed httpd.
Same results.

I also tried searching the archives this morning and a search for "Apache" 
or "Apache SSI" or "Apache server side includes" in both ISP and QUESTIONS
resulted in "No Documents Found". 

Anyway, I placed some test cgi script in /usr/local/www/cgi-bin/ and tried
calling them with a line like:

<!--#exec cgi="/cgi-bin/test.pl"-->

with similar results.  BTW, it's not a problem with the script because if
I call it directly like: http://localhost/cgi-bin/test.pl it works
correctly.  I'm out of ideas. Any suggestions. 

Thanks in advance.

- -burton-
- ---------------

Burton Sampley
bsampley@best.com or bsampley@haywire.csuhayward.edu
PGP key available at http://www.best.com/~bsampley/pgp.html 


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNRLyeXt2O8KJtMdBAQGyKAP+IeslRmasOlFtb6xBlzMaHYmGtb5xK6i1
fbTCQXMsMNF5KC7pnFYKejCvH63P0Jd2q5B+c2st3TUaPqBfWybkKwEeHELDcoFg
dJ61HgGO8RPKKRQqpNa20IbKLwyxm6V1tURY5clIIpYXdGgklN+aqWs8H16rGpEy
rFpxu0jKTV8=
=WB6Z
-----END PGP SIGNATURE-----


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?Pine.BSF.3.96.980320142255.372A-100000>