Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 52096 invoked from network); 20 May 2005 07:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 May 2005 07:25:44 -0000 Received: (qmail 9994 invoked by uid 500); 20 May 2005 07:25:20 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 9782 invoked by uid 500); 20 May 2005 07:25:19 -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 9766 invoked by uid 99); 20 May 2005 07:25:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtpcl01.niedersachsen.com (HELO smtpcl01.niedersachsen.com) (193.30.60.208) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 20 May 2005 00:25:11 -0700 Received: from localhost (localhost [127.0.0.1]) by smtpcl01.niedersachsen.com (Postfix) with ESMTP id 487E443F for ; Fri, 20 May 2005 09:25:05 +0200 (CEST) Received: from smtpcl01.niedersachsen.com ([127.0.0.1]) by localhost (smtpcl01 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00699-05 for ; Fri, 20 May 2005 09:24:57 +0200 (CEST) Received: from PC000475F34378 (cheiron.madsack.de [193.30.47.132]) by smtpcl01.niedersachsen.com (Postfix) with ESMTP id D5F6A40D for ; Fri, 20 May 2005 09:24:51 +0200 (CEST) From: "Oliver Kirchel" To: Date: Fri, 20 May 2005 09:24:47 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: X-Virus-Scanned: by amavisd-new at niedersachsen.com X-Virus-Checked: Checked Subject: AW: [users@httpd] Execute perl Script X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, OK, sorry is my first post. I changed it, like Joshua said. I put in the default-server.conf instead of=20 ScriptAlias /cgi-bin "/srv/www/cgi-bin/" AllowOverride None Options +ExecCGI Order allow,deny Allow from all this Alias /cgi-bin /srv/www/cgi-bin/ Options ExecCGI SetHandler cgi-script DirectoryIndex index.pl Here is the result what the browser said: ------------------------------------------------------------------------ ------------------------------------------------------- Zugriff verweigert! Der Zugriff auf das angeforderte Verzeichnis ist nicht m=F6glich. = Entweder ist kein Index-Dokument vorhanden oder das Verzeichnis ist zugriffsgesch=FCtzt. Sofern Sie dies f=FCr eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hier=FCber.=20 Error 403 ------------------------------------------------------------------------ ------------------------------------------------------- Sorry it is german but the most important part, I think, is the Error 403. And here is the part of the error_log: [Fri May 20 09:11:54 2005] [error] [client 222.222.222.222] attempt to invoke directory as script: /srv/www/cgi-bin/ Olli > -----Urspr=FCngliche Nachricht----- > Von: Boyle Owen [mailto:Owen.Boyle@swx.com]=20 > Gesendet: Freitag, 20. Mai 2005 09:03 > An: users@httpd.apache.org > Betreff: RE: [users@httpd] Execute perl Script >=20 >=20 >=20 >=20 > > -----Original Message----- > > From: Oliver Kirchel [mailto:kirchel@gutenberg-rz.de] > > Sent: Freitag, 20. Mai 2005 08:57 > > To: users@httpd.apache.org > > Subject: AW: [users@httpd] Execute perl Script > >=20 > >=20 > > Hi, > > I tried it without ScriptAlias but it doesen't work either.=20 > Any other=20 > > ideas ? >=20 > Please don't ever say "it doesn't work"... what *exactly* happens: >=20 > - what exactly did you put in the config? > - what exactly did the browser say? (switch off "friendly" messages) > - what exactly does it say in the error_log? >=20 > Rgds, > Owen Boyle > Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 >=20 > >=20 > > Olli > >=20 > > > -----Urspr=FCngliche Nachricht----- > > > Von: Boyle Owen [mailto:Owen.Boyle@swx.com] > > > Gesendet: Freitag, 20. Mai 2005 08:39 > > > An: users@httpd.apache.org > > > Betreff: RE: [users@httpd] Execute perl Script > > >=20 > > >=20 > > > > -----Original Message----- > > > > From: Joshua Slive [mailto:jslive@gmail.com] > > > > Sent: Donnerstag, 19. Mai 2005 18:40 > > > > To: users@httpd.apache.org > > > > Subject: Re: [users@httpd] Execute perl Script > > > >=20 > > > >=20 > > > > On 5/19/05, Boyle Owen wrote: > > > > > Plain text please... > > > > >=20 > > > > > You have to set DirectoryIndex for the cgi dir as you would > > > > for any index file in a normal directory, ie: > > > > >=20 > > > > > DirectoryIndex index.pl > > > >=20 > > > > If I remember correctly, that doesn't work in ScriptAliased > > > > directories. > > >=20 > > > Oops - quite right... I did this once ages ago and forgot > > > that I wasn't using ScriptAlias... > > >=20 > > > Rgds, > > > Owen Boyle > > > Disclaimer: Any disclaimer attached to this message may=20 > be ignored. > > >=20 > > > > You need to convert > > > >=20 > > > > ScriptAlias /cgi-bin/ /path/to/cgi-bin/ > > > > to > > > > Alias /cgi-bin /path/to/cgi-bin > > > > > > > > Options ExecCGI > > > > SetHandler cgi-script > > > > DirectoryIndex index.pl > > > > > > > >=20 > > > > Joshua. > > > >=20 > > > >=20 > > >=20 > >=20 > --------------------------------------------------------------------- > > > > The official User-To-User support forum of the Apache=20 > HTTP Server=20 > > > > Project. See=20 > for more=20 > > > > info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > > > > " from the digest:=20 > users-digest-unsubscribe@httpd.apache.org > > > > For additional commands, e-mail: users-help@httpd.apache.org > > > >=20 > > > > > > > =20 > > > =20 > > > This message is for the named person's use only. It may > > > contain confidential, proprietary or legally privileged=20 > > > information. No confidentiality or privilege is waived or=20 > > > lost by any mistransmission. If you receive this message in=20 > > > error, please notify the sender urgently and then immediately=20 > > > delete the message and any copies of it from your system.=20 > > > Please also immediately destroy any hardcopies of the=20 > > > message. You must not, directly or indirectly, use, disclose,=20 > > > distribute, print, or copy any part of this message if you=20 > > > are not the intended recipient. The sender's company reserves=20 > > > the right to monitor all e-mail communications through their=20 > > > networks. Any views expressed in this message are those of=20 > > > the individual sender, except where the message states=20 > > > otherwise and the sender is authorised to state them to be=20 > > > the views of the sender's company. > > >=20 > > >=20 > >=20 > --------------------------------------------------------------------- > > > The official User-To-User support forum of the Apache HTTP > > > Server Project. See=20 > > > for more info.=20 > > > 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 > > >=20 > > >=20 > >=20 > >=20 > >=20 > --------------------------------------------------------------------- > > 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 > >=20 > >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > Server Project. See=20 > for more info.=20 > 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 >=20 >=20 --------------------------------------------------------------------- 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