Date: Thu, 9 Oct 1997 12:49:15 +0000 (GMT) From: Michael Hallgren <hallgren@viking.easynet.fr> To: Patrick Gardella <patrick@cre8tivegroup.com> Cc: Jack Wenger <info@bentreality.com>, freebsd-isp@FreeBSD.ORG Subject: RE: Virtual Domain CGI-BIN Message-ID: <Pine.BSF.3.96.971009124713.2506A-100000@viking.easynet.fr> In-Reply-To: <XFMail.971009080547.patrick@cre8tivegroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I do: <VirtualHost w3.ab2i.com> DocumentRoot /home/htdocs/ab2icom/docs/ ScriptAlias /cgi-bin/ /home/htdocs/ab2icom/cgi-bin/ TransferLog /home/webstats/logs/ab2icom/ab2icom.log ErrorLog /home/webstats/logs/ab2icom/ab2icom.error.log </VirtualHost> ... and it works just fine. Send me your httpd.conf file, if you want... Cheers Michael --- Michael Hallgren Easynet France http://w3.easynet.fr 'finger hallgren@range2.easynet.fr' for Public Key PGP Key fingerprint = D2 47 C8 D1 4D 2B AF 32 3D 4E A3 0F D4 A2 DB 9E On Thu, 9 Oct 1997, Patrick Gardella wrote: > 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: > > > ><VirtualHost www.bentreality.com> > >ServerAdmin webmaster@bentreality.com > >DocumentRoot /usr/home/jwenger/www > >ServerName www.bentreality.com > ><Directory /usr/home/jwenger/cgi-bin/> > >Options +ExecCGI > >DefaultType application/x-httpd-cgi > ></Directory> > >ErrorLog /var/log/brg-error_log > >TransferLog /var/log/brg-access_log > >ScriptAlias /cgi-bin/ /usr/home/jwenger/cgi-bin/ > ></VirtualHost> > > > >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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971009124713.2506A-100000>