Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 7201 invoked from network); 3 Oct 2007 17:54:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Oct 2007 17:54:23 -0000 Received: (qmail 30193 invoked by uid 500); 3 Oct 2007 17:54:03 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 30165 invoked by uid 500); 3 Oct 2007 17:54:03 -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: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 30132 invoked by uid 99); 3 Oct 2007 17:54:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 10:54:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.92.184.217] (HELO jeeves.aandd.org) (66.92.184.217) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2007 17:54:02 +0000 Received: from [192.168.1.7] (djve.aandd.org [192.168.1.7]) (authenticated bits=0) by jeeves.aandd.org (8.13.8/8.13.8) with ESMTP id l93HrVJY017892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 3 Oct 2007 10:53:34 -0700 (PDT) (envelope-from Apache@AandD.Org) Message-ID: <4703D723.1090509@AandD.Org> Date: Wed, 03 Oct 2007 10:53:39 -0700 From: Apache@aandd.org Reply-To: Apache@aandd.org User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.1/4461/Wed Oct 3 01:50:48 2007 on jeeves.aandd.org X-Virus-Status: Clean X-Spam-Level: -1.4 X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on jeeves.aandd.org X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Apache 2.2.6 and CGI problem redux Not a total solution but getting there. Joshua Slive had some of the answer. He enlightened me that I was using SSI and told me to used SetOutputFilter and I read-up on the SSI howto. So I can include JavaScript files and they work nicely. However perl scripts in the cgi-bin directly stubbornly refuse to fire unless called by an HREF tag. The config is simple: ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" Alias /javascript/ "/usr/local/www/javascript/" AddHandler cgi-script .cgi .pl AllowOverride None Options +ExecCGI +Includes AddType text/html .html AddOutputFilter INCLUDES .html Order allow,deny Allow from all AllowOverride None Options +ExecCGI +Includes AddType text/html .html AddOutputFilter INCLUDES .html Order allow,deny Allow from all The web page (index.html) is damn simple too: Test page

It works! Or so I say.
David

Apache feather image2 Test This
          
          
      
And the perl script is trivial. #!/usr/bin/perl print "Content-type: text/html\r\n\r\n"; print "

Work, damn it all!

\n"; Any idea of what I'm missing? I'm going with html all pages will be using dynamic HTML, if I can ever get it to work. Does the new details ring bells with anybody? Thanks, again. Outstanding action: Contact the CGI HowTo doc people to put a ref to the SSI HowTo doc. --------------------------------------------------------------------- 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