Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 98574 invoked by uid 500); 4 Jun 2002 02:32:54 -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 98560 invoked from network); 4 Jun 2002 02:32:54 -0000 Received: from tomts23.bellnexxia.net (HELO tomts23-srv.bellnexxia.net) (209.226.175.185) by daedalus.apache.org with SMTP; 4 Jun 2002 02:32:54 -0000 Received: from slive.ca ([65.94.2.130]) by tomts23-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020604023302.YIBI17803.tomts23-srv.bellnexxia.net@slive.ca> for ; Mon, 3 Jun 2002 22:33:02 -0400 Message-ID: <3CFC26DE.3080802@slive.ca> Date: Mon, 03 Jun 2002 22:33:02 -0400 From: Joshua Slive User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc3) Gecko/20020523 X-Accept-Language: en-us, en, fr MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: CGI and ScriptAlias Alternatives References: <003101c20b63$4dac4ac0$4a688a42@swbell.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ron Wingfield wrote: > I'm having difficulty executing the counter.pl in the common directory. > If I add a ScriptAlias, e.g., > > ScriptAlias /cgi-bin/ "/www/cgi-bin/perl/" > > to the httpd.conf container for the VirtualHost, apples.com. > > > After execution of the index.htm file in the host's DocumentRoot > directory, /www/vhosts/apples.com (as directed in the httpd.conf file), > the error-log message contains: "invalid CGI ref > "www/cgi-bin/perl/counter.pl". This sounds conspicuously like you are using SSI, not direct CGI. The error message is from the SSI. Start by requesting the cgi script directly (as in http://example.com/cgi-bin/perl/counter.pl) and make sure that works. Once that works, then try to get it to work in SSI. Forget about "#exec cgi". You should never use that. Instead, use . Joshua. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org