Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 53249 invoked from network); 13 Jul 2004 16:12:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jul 2004 16:12:35 -0000 Received: (qmail 55510 invoked by uid 500); 13 Jul 2004 16:12:20 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 55464 invoked by uid 500); 13 Jul 2004 16:12:19 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 55446 invoked by uid 99); 13 Jul 2004 16:12:19 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org X-Sasl-enc: 12DMxzFlM9aSZk57f2RHag 1089735130 Message-ID: <40F409CE.1030503@breame.com> Date: Tue, 13 Jul 2004 17:11:58 +0100 From: Colin JN Breame User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Geoffrey Young Cc: modperl@perl.apache.org Subject: Re: index.pl weirdness References: <40F3B536.108@breame.com> <40F3EF2E.8030406@modperlcookbook.org> In-Reply-To: <40F3EF2E.8030406@modperlcookbook.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Geoffrey Young wrote: >Colin JN Breame wrote: > > >>Hi, >> >>I have a problem with apache and mod_perl; >> >>The cgi-bin directory has many perl files in it. All execute except >>index.pl which produces the browser Save As dialog. The content of the >>file saved is the content of index.pl (not something else). >> >>However, if I rename the file to something other than index.pl (e.g. >>index1.pl), it executes as it should. >> >> > >this definitely sounds like a mod_autoindex issue > > > >>I've removed any DirectoryIndex directives. >> >> > >try > > Options +ExecCGI -Indexes > >or just > > Options ExecCGI > >don't forget to restart apache so the configuration changes are applied :) > >if that doesn't work, I'm out of ideas, save issuing a direct telnet request >to your server to see what is actually coming off the wire. something like >this should do the trick: > >$ telnet server.example.com 80 >Trying 127.0.0.1... >Connected to server.example.com (127.0.0.1). >Escape character is '^]'. >GET /index.pl HTTP/1.1 >Host: server.example.com > >the last two lines are the ones you type, followed by two newlines. > >HTH > >--Geoff > > > > > Geoff, Thanks for your response. I've checked the Indexes option (Options +ExecCGI -Indexes) but it seems to have no effect. I've also removed all reference to mod_autoindex and again, the problem persists. Colin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html