Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 77678 invoked from network); 13 Jul 2007 03:58:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jul 2007 03:58:43 -0000 Received: (qmail 13582 invoked by uid 500); 13 Jul 2007 03:58:34 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 13560 invoked by uid 500); 13 Jul 2007 03:58:34 -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 13548 invoked by uid 99); 13 Jul 2007 03:58:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 20:58:34 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of yaakov.chaikin@gmail.com designates 64.233.184.226 as permitted sender) Received: from [64.233.184.226] (HELO wr-out-0506.google.com) (64.233.184.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 20:58:30 -0700 Received: by wr-out-0506.google.com with SMTP id 55so290806wri for ; Thu, 12 Jul 2007 20:58:10 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hCRwgtPfXSE+vdZov++uTxkX3Uchrj0/7xviHpZLOiMq8DLFOSA9KizzXiVFw4KBZPpdJNCbcju/VQBexz+dqUUGL1bLIGkkzBaEggGZ40rccoxykZppce9XfktZR4VdM7M1WycM6RzMesiyGb8YhD2/QSOBnxxdOFtOTcEyZOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UA1SzLl01Tpfg1gto4sqSZIv2N8KHeYEFsNWc2bDOJjY4BagTSuZetgmBW1t7FZ8lIYTyJPtb1WMlaeIn+oYs9KYz5AoQdps+xahQOF+rxVsw3IHxtwh3JX1d+HZG7FchJA7g9hK9XWKlq1cziNnspaeGD93Xar4klCkA0/MVEM= Received: by 10.142.212.19 with SMTP id k19mr100456wfg.1184299089553; Thu, 12 Jul 2007 20:58:09 -0700 (PDT) Received: by 10.142.253.19 with HTTP; Thu, 12 Jul 2007 20:58:09 -0700 (PDT) Message-ID: <15378a7f0707122058wf2ea8b8le00f1feea8798e2e@mail.gmail.com> Date: Thu, 12 Jul 2007 23:58:09 -0400 From: "Yaakov Chaikin" To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <15378a7f0707121750v1cf08273s641d2ebe051e924d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Forbidden... Yes, it IS configured to work only with localhost. However, that wasn't my question. I wanted to know why I am getting the right response when I do: http://localhost/apcupsd/multimon.cgi and getting "Forbidden" when I do: http://localhost/apcupsd/ On 7/12/07, Hamilton Vera wrote: > With this conf, it will only work for localhost requests > > > Order deny,allow > Deny from all > Allow from 127.0.0.1 > Allow from ::1 (by the way I never saw this before) > > > Please correct if I am wrong > > Maybe you can get more tips looking in the error_log. > > > []=B4s > > Hamilton Vera > int Administrator (char Network[],char ComputationalSystems[]); > http://antispam.br/ > "Google is my shepherd, no want shall I know" > > On Thu, 12 Jul 2007, Yaakov Chaikin wrote: > > > Hi, > > > > I have the following config file which came with apcupsd. I am a > > newbie at configuring Apache, so please tell me why > > "http://..../apcupsd/" produces "Forbidden". It seems from the config > > below that the cgi script should be executed instead. > > > > # > > # apcupsd configuration file for Apache Web server > > # > > > > # files are off the documentroot of Web server > > ScriptAlias /apcupsd/ "/var/www/apcupsd/" > > > > # > > # Allow only local access at default > > # Change the ".example.com" to match your domain or modify > > # access rights to your needs to enable remote access also. > > # > > > > DirectoryIndex multimon.cgi upsstats.cgi > > AllowOverride None > > Options ExecCGI Indexes > > Order deny,allow > > Deny from all > > Allow from 127.0.0.1 > > Allow from ::1 > > # Allow from .example.com > > > > > > > > Thanks, > > Yaakov. > > > > --------------------------------------------------------------------- > > The official User-To-User support forum of the Apache HTTP Server Proje= ct. > > 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 > > > > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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