Date: Fri, 20 Mar 1998 15:54:24 -0800 (PST) From: Burton Sampley <bsampley@best.com> To: questions@FreeBSD.ORG Subject: Re: Apache and SSI Message-ID: <Pine.BSF.3.96.980320155126.372B-100000@bsampley.vip.best.com> In-Reply-To: <Pine.BSF.3.96.980320142255.372A-100000@bsampley.vip.best.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oops, I forogt to mention this is on 2.2.6-Beta and Apache 1.2.5 was compiled from the ports collection yesterday. I have used Apache in the past, but at the time I had no need to use server side includes. -burton- --------------- Burton Sampley bsampley@best.com or bsampley@haywire.csuhayward.edu PGP key available at http://www.best.com/~bsampley/pgp.html On Fri, 20 Mar 1998, Burton Sampley wrote: > Date: Fri, 20 Mar 1998 14:49:21 -0800 (PST) > From: Burton Sampley <bsampley@BEST.COM> > To: questions@FreeBSD.ORG > Subject: Apache and SSI > > | Pretty Good Privacy(tm) 2.6.2 - Public-key encryption for the masses. > | (c) 1990-1994 Philip Zimmermann, Phil's Pretty Good Software. 11 Oct 94 > | Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc. > | Distributed by the Massachusetts Institute of Technology. > | Export of this software may be restricted by the U.S. government. > | Current time: 1998/03/20 23:51 GMT > | > | File has signature. Public key is required to check signature. . > | Good signature from user "bsampley". > | Signature made 1998/03/20 22:49 GMT > > 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 > > 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.980320155126.372B-100000>