From owner-freebsd-isp Wed Oct 8 22:24:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA09329 for isp-outgoing; Wed, 8 Oct 1997 22:24:58 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from DNS.Lamb.net (root@DNS.Lamb.net [207.90.181.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA09324 for ; Wed, 8 Oct 1997 22:24:56 -0700 (PDT) (envelope-from ulf@Gatekeeper.Alameda.net) Received: (from uucp@localhost) by DNS.Lamb.net (8.8.6/8.8.6) id WAA07237; Wed, 8 Oct 1997 22:25:03 -0700 (PDT) Received: from gatekeeper.Alameda.net(207.90.181.2) via SMTP by DNS.Lamb.net, id smtpd007235; Wed Oct 8 22:25:02 1997 Received: (from ulf@localhost) by Gatekeeper.Alameda.net (8.8.6/8.7.6) id WAA15102; Wed, 8 Oct 1997 22:24:54 -0700 (PDT) From: Ulf Zimmermann Message-Id: <199710090524.WAA15102@Gatekeeper.Alameda.net> Subject: Re: Virtual Domain CGI-BIN In-Reply-To: <3.0.32.19971008211949.00955310@acw-web.com> from Jack Wenger at "Oct 8, 97 09:19:49 pm" To: info@bentreality.com (Jack Wenger) Date: Wed, 8 Oct 1997 22:24:54 -0700 (PDT) Cc: freebsd-isp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > This might be a simple question, but I've tried the Apache newsgroup and > haven't seen any kind of answer. Please help! I need this to work, because > of a software package that will only work with the cgi-bin setup *above* > the webroot, in my case /usr/home/virtdomain/cgi-bin. > What I'm trying to do is setup cgi-bin for my virtual domains. I've been > able to make it work when the cgi-bin is under the webroot, i.e. > "/usr/home/virtdomain/www/cgi-bin" where www is the web root. I do this > using "ScriptAlias /cgi-bin/ /usr/home/virtdomain/www/cgi-bin" in my > httpd.conf. When I try to make the cgi-bin ABOVE the webroot, i.e. > "/usr/home/virtdomain/cgi-bin" and change the conf file httpd.conf to > "ScriptAlias /cgi-bin/ /usr/home/virtdomain/cgi-bin" I get a 403 error, > "Forbidden You don't have permission to access /cgi-bin/ on this > server.", or the script just isn't found. Any ideas? I can't see why this > particular ScriptAlias doesn't work, and I know the permissions are set to > 775 for the directory and files. I also have the "AddHandler cgi-script > .cgi" in my srm.conf and a virtual domain setup that looks like this in my > httpd.conf: > > > ServerAdmin webmaster@bentreality.com > DocumentRoot /usr/home/jwenger/www > ServerName www.bentreality.com > > Options +ExecCGI > DefaultType application/x-httpd-cgi > > ErrorLog /var/log/brg-error_log > TransferLog /var/log/brg-access_log > ScriptAlias /cgi-bin/ /usr/home/jwenger/cgi-bin/ > > > Help! What does the error log show ? > > > ------------- The Ultimate in Web Design -------------- > Bent Reality Graphics Jack Wenger, Owner > info@bentreality.com http://www.bentreality.com > 608-233-8571 or 1-888-701-1026 > Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073