Date: Thu, 29 Jul 1999 11:27:04 +0100 From: "Nicholas J. Dear" <ndear@areti.net> To: freebsd-isp@FreeBSD.ORG Subject: Apache on FreeBSD. Message-ID: <199907291028.LAA10022@post.mail.areti.net>
next in thread | raw e-mail | index | archive | help
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 <Directory> tags, but I get (below) this when I configtest it. <VirtualHost 194.207.26.225> 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 <Directory /usr/home/longmire/public_html> Options FollowSymLinks </Directory> </VirtualHost> su-2.02# ./apachectl configtest Syntax error on line 1979 of /usr/local/apache/conf/httpd.conf: ScriptAlias not allowed here Any ideas? :) N. -- Nicholas J. Dear Mail: ndear@areti.net Tel: +44 (0)208-402-4041 Areti Internet Ltd., http://www.areti.co.uk/ 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?199907291028.LAA10022>