Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 1998 09:04:52 -0700
From:      Jim Mock <jim@triax.com>
To:        Paul Stewart <paul@kawartha.com>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: server side includes in apache 1.2.6
Message-ID:  <199805041601.JAA25059@smtp.triax.com>
In-Reply-To: <Pine.BSF.3.96.980504110006.16151A-100000@shell.kawartha.co m>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:03 AM 5/4/98 -0400, you wrote:
>Hi there...
>
>My memory is hurting as I can't get server side includes running from the
>ports install of apache 1.2.6 on FreeBSD 2.2.5
>
>I even went to the Apache site and printed off the info on mod_include
>which I understand is compiled in by default?  Hopefully that's not my
>problem..heheehe...
>
>In my index.html file I have the following line...
>
><!--#exec cgi="/cgi-bin/bannerwheel.cgi"--> 
>
>In my access.conf I have the following...
>
><Directory /usr/local/www/data>
>Options Indexes FollowSymLinks +Includes ExecCGI
>AllowOverride All
>order allow,deny
>allow from all
></Directory>
>
>I can't find the problem... the line in my index.html just shows up when I
>do "show document source" in Netscape....
>
>Any suggestions? :)
>
>Thanks again,
>
>Paul
>

Make sure you've got the .shtml extensions enabled in srm.conf..

# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.

DirectoryIndex index.html index.htm index.shtml

And make sure they're uncommented in the AddHandler section a little
further down..

# To use server-parsed HTML files
AddType text/html .shtml
AddHandler server-parsed .shtml

They're working fine on our boxes running Apache 1.2.6.. check out
http://www.apacheweek.com/features/ssi for more info.

Hope this helps..

Jim

+==================================================+
 Jim Mock | System Administrator | Webmaster
 Triax Internet Services | Portland, OR  USA
 e-mail: jim@triax.com | webmaster@triax.com
 WWW: http://www.triax.com/   
+==================================================+
 640 KB should be enough for everybody.
        - Bill Gates, 1982
+==================================================+

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805041601.JAA25059>