Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADEF018AA5 for ; Tue, 7 Jul 2015 18:54:35 +0000 (UTC) Received: (qmail 88920 invoked by uid 500); 7 Jul 2015 18:54:35 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 88873 invoked by uid 500); 7 Jul 2015 18:54:35 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 88861 invoked by uid 99); 7 Jul 2015 18:54:35 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jul 2015 18:54:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A0BF31A6829 for ; Tue, 7 Jul 2015 18:54:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id kdczrIB8pI2P for ; Tue, 7 Jul 2015 18:54:34 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 8001120DB7 for ; Tue, 7 Jul 2015 18:54:33 +0000 (UTC) Received: by wiwl6 with SMTP id l6so323501597wiw.0 for ; Tue, 07 Jul 2015 11:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=/1HkWv0jrym+Op26K+XtOaPNR9iRl1i7i4TcUU44joM=; b=ILwjRc8IUruelEX+KFdG6Trdn/9Z19vMlsjGaz+5BL6546XWtnuQrZgKG4woFdV8mn JglI9U4nFV25iWizCz79wYDMiK3zFfbkPYG9pDJTmlsjvc2dhfVkE+zEKbNTeGTzHVO1 169dSrVymyuTv2YYe5lFSV8hdSw74XWxn3BOJhmYpiqvE34Cr7beR1FlW4/nPoCfn+tv +WhNjas9+LdAH7PsK0NIRYjoxufDaiuhhSJ5fnkxITrBVsQStkNQMS2g5UI6bTZIJGhP vREjCAD+J95n8tmi/gA0F9IibXud3PwBYG1pBllHGThm6ZFE+GQXdsB41Qm3VGEzYnO5 Muiw== X-Received: by 10.194.206.65 with SMTP id lm1mr11354695wjc.117.1436295266923; Tue, 07 Jul 2015 11:54:26 -0700 (PDT) Received: from ?IPv6:2a01:e35:8b73:8dd0:762f:68ff:fee5:8d8? ([2a01:e35:8b73:8dd0:762f:68ff:fee5:8d8]) by mx.google.com with ESMTPSA id dz4sm53886481wib.17.2015.07.07.11.54.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 11:54:26 -0700 (PDT) Message-ID: <559C2058.6070109@gmail.com> Date: Tue, 07 Jul 2015 20:54:16 +0200 From: Sorin Manolache User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: Re: You don't have permission to access /asd on this server References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 2015-07-07 13:58, Prakash Premkumar wrote: > > I added my Set Handler as follows > > > > SetHandler example_module > > > > when I try to access localhost/ , I get "It Works!" screen. > > But when I try to access some path in localhost like localhost/asd I get > the following error > > Forbidden > > You don't have permission to access /asd on this server. Server unable to > read htaccess file, denying access to be safe > > Can you please help me solve this ? I think the problem is not the code but the conf. does not match /asd. Check http://httpd.apache.org/docs/2.4/mod/core.html#location Use instead. Sorin >