From owner-freebsd-questions Sun Mar 31 21:23:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tao.thought.org (sense-kline-249.oz.net [216.39.168.249]) by hub.freebsd.org (Postfix) with ESMTP id 7F46637B41B for ; Sun, 31 Mar 2002 21:23:36 -0800 (PST) Received: (from kline@localhost) by tao.thought.org (8.11.3/8.11.3) id g315NNQ98463; Sun, 31 Mar 2002 21:23:23 -0800 (PST) (envelope-from kline) Date: Sun, 31 Mar 2002 21:23:22 -0800 From: Gary Kline To: Deepak Jain Cc: Gary Kline , FreeBSD Mailing List Subject: Re: any Apache//web wizards out there? Message-ID: <20020331212322.B97995@tao.thought.org> References: <200204010255.g312tRW97816@tao.thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from deepak@ai.net on Sun, Mar 31, 2002 at 10:20:44PM -0500 X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 15 years of service to the Unix community Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 31, 2002 at 10:20:44PM -0500, Deepak Jain wrote: > > If the tag is showing up in your html files, and not returning an error like > "Error in directive" then your file isn't being run through the mod_includes > handler. > > 1) Make sure mod_includes is in your httpd.conf file. LoadModule includes_module libexec/apache/mod_include.so > 2) Make sure you have uncommented the .shtml handler. # # To use server-parsed HTML files # AddType text/html .shtml AddHandler server-parsed .shtml > 3) Make sure your file is named .shtml or .html with the execute bit set > [Xbithack] -rwxr-xr-x 1 kline wheel 1928 Mar 31 20:34 index.html Note that when I tried index.shtml, apache gave me a permission error about not having access to "/". This may be another part of the problem. (??) > 4) Make sure you have Includes permissions turned on for the directory you > are in: > > > Options +Includes > Do I need the + prepended to "Includes"? ...Another thing is whether I need to specify the "/usr/local/www/wwdata" directory here. Above, n the default section I have enabled Imcludes; also in the /cgi-bin/ section. > Restart httpd and you should be fine. > Not so far. Any other clues? gary -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message