Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 99409 invoked from network); 13 Jan 2011 14:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2011 14:36:07 -0000 Received: (qmail 89692 invoked by uid 500); 13 Jan 2011 14:36:04 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 89458 invoked by uid 500); 13 Jan 2011 14:36:01 -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 89450 invoked by uid 99); 13 Jan 2011 14:36:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 14:36:00 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of effbiae@gmail.com designates 209.85.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-iw0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Jan 2011 14:35:53 +0000 Received: by iwn40 with SMTP id 40so1654037iwn.18 for ; Thu, 13 Jan 2011 06:35:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=LqULbiW6WwTahHf6pLnUma+iUlgZhrFbOvTsOUbzGpc=; b=Dedp8Y+jWpRCeY4RteFFb/kyamM+HaUc6D3Sq48SR4QmjmGeF1BjiZn0a9RFtwV6ii rutc4iCZuXoKUfSSOCLWs65jG4Vyg9X0eTigRHOaDBpxdRKjEFANoH9KoCj/zfvlFf1C J0gZgqX+3g04O/nLH/wasFIa8RCEsVhCVlVoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=t0BfNUyAcLKdJla3dJbtREOfsWxBZECIywqtTcMk5RKSkfZiwdXbiJNrUfYEvThvwq lbdrJXB5hiesQClwSLaXI441byKiCNfZPc+63jfGjzZMcgvCXN4DQUgLTrDaN/JUso8/ GdDIzXSVsEd91OINLKgQAw1M867U8AGi9YXWc= MIME-Version: 1.0 Received: by 10.231.15.133 with SMTP id k5mr2356921iba.187.1294929332279; Thu, 13 Jan 2011 06:35:32 -0800 (PST) Received: by 10.231.13.74 with HTTP; Thu, 13 Jan 2011 06:35:32 -0800 (PST) In-Reply-To: References: Date: Fri, 14 Jan 2011 01:35:32 +1100 Message-ID: From: Jack Andrews To: users@httpd.apache.org, joost@sanguis.xs4all.nl Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] simple newbie On Fri, Jan 14, 2011 at 1:13 AM, Joost de Heer wrote: > - Is there a special reason why you want to use .htaccess instead of > adding the directive to the central configuration? no, not really... so i tried adding: Options +ExecCGI AddHandler cgi-script .cgi to /etc/apache2/apache2.conf and sudo /etc/init.d/apache2 restart then when wget localhost --2011-01-14 01:32:09-- http://localhost/ Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:80... failed: Connection refused. Connecting to localhost|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2011-01-14 01:32:09 ERROR 403: Forbidden. and the log says: [Fri Jan 14 01:32:54 2011] [error] [client 192.168.1.3] Options ExecCGI is off in this directory: /var/www/index.cgi thank you for your patience, jack. --------------------------------------------------------------------- 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