Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 1244 invoked by uid 500); 29 Jan 2003 12:05:41 -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 1233 invoked from network); 29 Jan 2003 12:05:41 -0000 Received: from shawidc-mo1.cg.shawcable.net (HELO pd3mo3so.prod.shaw.ca) (24.71.223.10) by daedalus.apache.org with SMTP; 29 Jan 2003 12:05:41 -0000 Received: from pd4mr3so.prod.shaw.ca (pd4mr3so-qfe3.prod.shaw.ca [10.0.141.214]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H9H001BX5JX6X@l-daemon> for users@httpd.apache.org; Wed, 29 Jan 2003 05:04:45 -0700 (MST) Received: from pn2ml3so.prod.shaw.ca (pn2ml3so-qfe0.prod.shaw.ca [10.0.121.147]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002)) with ESMTP id <0H9H00MP45JXRC@l-daemon> for users@httpd.apache.org; Wed, 29 Jan 2003 05:04:45 -0700 (MST) Received: from shaw.ca (h24-80-110-238.vf.shawcable.net [24.80.110.238]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002)) with ESMTP id <0H9H00F9S5JWC4@l-daemon> for users@httpd.apache.org; Wed, 29 Jan 2003 05:04:45 -0700 (MST) Date: Wed, 29 Jan 2003 04:03:13 -0800 From: "J. Greenlees" In-reply-to: <000701c2c789$2fbfa150$0200a8c0@SUBZERO> To: users@httpd.apache.org Message-id: <3E37C301.8020303@shaw.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3a) Gecko/20021212 References: <000201c2c74b$023d6d90$6500a8c0@jeff> <000701c2c789$2fbfa150$0200a8c0@SUBZERO> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] VirtualDirectory Subzero wrote: > This is the stuff about the VirtualDir that i have in my httpd.conf > > NameVirtualHost * > > > ServerAdmin webmaster@domain.com > DocumentRoot "C:/Program Files/Apache Group/Apache/htdocs/" > ServerName www.domain.com > ErrorLog logs/error_log > CustomLog logs/access_log common > > > > ServerAdmin webmaster@dir.domain.com > DocumentRoot "C:/Program Files/Apache Group/Apache/cgi-bin/dir/" > ServerName dir.domain.com > ErrorLog logs/dir.domain.com-error_log > CustomLog logs/dir.domain.com-access_log common > > instead of virtualhost * try with the name you want it to be. ( http://dir.domain.com ) though setting your cgi dir up as a virtual host seems odd. it isn't needed > As i said, > http://www.domain.com/cgi-bin/dir works > http://dir.domain.com shows me the correct .pl file, but it doesn't process > it, it types it as a txt file > > i have also tried having this > > > > > AllowOverride None > Options ExecCGI > Order allow,deny > Allow from all > > ScriptAlias /cgi-bin/dir/ "C:/Program Files/Apache Group/Apache/cgi-bin/dir/" try scriptalias after you have defined the directory. instead of before. --------------------------------------------------------------------- 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