Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 50075 invoked from network); 13 Feb 2005 18:14:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Feb 2005 18:14:30 -0000 Received: (qmail 57066 invoked by uid 500); 13 Feb 2005 18:14:21 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 57049 invoked by uid 500); 13 Feb 2005 18:14:21 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 57034 invoked by uid 99); 13 Feb 2005 18:14:20 -0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HOT_NASTY X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mpmail4.accesstoledo.com (HELO mpmail4.accesstoledo.com) (208.16.180.238) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 13 Feb 2005 10:14:18 -0800 Received: from rott (unverified [204.118.182.55]) by buckeye-express.com (Rockliffe SMTPRA 5.3.11) with ESMTP id for ; Sun, 13 Feb 2005 13:14:15 -0500 Message-ID: From: "rott" To: Date: Sun, 13 Feb 2005 13:14:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcURMqcigX4NtQKvRQm1Dh3LP2wUDQAxGeew X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 In-Reply-To: <420E4D4B.5070004@azimapower.com> X-Virus-Checked: Checked Subject: RE: [users@httpd] cgi-bin question X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have that in my config file all ready and I used awstats as my test program but apache still wants the awstats.pl in the C:\apache\cgi-bin directory not in the cgi-bin directory of the virtual host This is my Vhost DocumentRoot D:\websites\domian.com ServerName domain.com ServerAlias www.domain.com ScriptAlias /cgi-bin/ "C:/Apache2/cgi-bin/" ErrorLog logs/domain.com-error.log CustomLog logs/domain.com-access.log "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" combined Dale -----Original Message----- From: Jeff [mailto:jdyke@azimapower.com] Sent: Saturday, February 12, 2005 1:39 PM To: users@httpd.apache.org Subject: Re: [users@httpd] cgi-bin question rott wrote: > > I have apache 2.45 running on windows 2000 serving one website runs great > have no problems. I have bought a second domain name and have started using > VH works great. Now I want to start running cgi scripts can each virtual > host use its own separate cgi-bin directory? > Or do all the scripts have to be in the same directory all in > apache2/cgi-bin?? I want each site to run some of the same scripts and being > all in the same directory the results aren't correct I hope I explained this > correctly You can put most any directive in a virtual host container that you can have in the main server. I don't use cgi, but adding ScriptAlias /cgi-bin/ "/path/to/virtual/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all ... each virutal host conf should do the trick. HTH jeff > > Dale > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org __________________________________________________________ Message transport security by GatewayDefender.com 1:39:18 PM ET - 2/12/2005 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org