From owner-freebsd-isp Thu Oct 9 05:05:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA26876 for isp-outgoing; Thu, 9 Oct 1997 05:05:47 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from iglou1 (exim@iglou1.iglou.com [192.107.41.3]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA26868 for ; Thu, 9 Oct 1997 05:05:39 -0700 (PDT) (envelope-from patrick@cre8tivegroup.com) Received: from gateway.cre8tivegroup.com [204.255.227.127] by iglou1 with smtp (8.7.3/8.6.12) id 0xJHLL-0004BH-00; Thu, 9 Oct 1997 08:05:28 -0400 Message-ID: X-Mailer: XFMail 1.0 [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3.0.32.19971008211949.00955310@acw-web.com> Date: Thu, 09 Oct 1997 08:03:14 -0400 (EDT) Organization: The Creative Group From: Patrick Gardella To: Jack Wenger Subject: RE: Virtual Domain CGI-BIN Cc: freebsd-isp@freebsd.org Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jack, Try to use: Alias /cgi-bin/ /usr/home/jwenger/cgi-bin/ instead of ScriptAlias. Patrick On 09-Oct-97 Jack Wenger wrote: >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! > > >------------- 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