From owner-freebsd-isp Thu Jul 29 3:40:32 1999 Delivered-To: freebsd-isp@freebsd.org Received: from eden.logilune.com (eden.logilune.com [195.154.174.34]) by hub.freebsd.org (Postfix) with ESMTP id A4166150A9 for ; Thu, 29 Jul 1999 03:40:29 -0700 (PDT) (envelope-from cholet@logilune.com) Received: from talisker.logilune.com (talisker.logilune.com [192.168.1.2]) by eden.logilune.com (Postfix) with SMTP id D8E3EA15C9; Thu, 29 Jul 1999 12:40:25 +0200 (CEST) Received: by localhost with Microsoft MAPI; Thu, 29 Jul 1999 12:40:24 +0200 Message-ID: <01BED9BF.878B8040.cholet@logilune.com> From: Eric Cholet To: "'ndear@areti.net'" , "freebsd-isp@FreeBSD.ORG" Subject: RE: Apache on FreeBSD. Date: Thu, 29 Jul 1999 12:40:23 +0200 Organization: Logilune X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thursday, July 29, 1999 12:27 PM, Nicholas J. Dear [SMTP:ndear@areti.net] wrote: > Apologies if this isn't directly related to FreeBSD (the machine runs it, but I > don't suppose that makes much difference). > > I'm trying to turn off directory listing functionality for one virtual host in > httpd.conf. The apache site appears to recommend something using the > tags, but I get (below) this when I configtest it. You turn off directory listings by turning off the "Indexes" option, e.g. Options -Indexes see http://www.apache.org/docs/mod/core.html#options > > ServerName www.blah.co.uk > ServerAdmin mark@blah.co.uk > DocumentRoot /usr/home/longmire/public_html > ScriptAlias /cgi-bin/ /usr/home/longmire/cgi-bin/ > ErrorLog /usr/local/apache/logs/www.longmire.co.uk/error_log > Options FollowSymLinks > > > > su-2.02# ./apachectl configtest > Syntax error on line 1979 of /usr/local/apache/conf/httpd.conf: > ScriptAlias not allowed here ScriptAlias can't be used in a section, see http://www.apache.org/docs/mod/mod_alias.html#scriptalias > > Any ideas? :) > N. > -- > Nicholas J. Dear > Mail: ndear@areti.net Tel: +44 (0)208-402-4041 > Areti Internet Ltd., http://www.areti.co.uk/ > -- Eric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message