Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC760D536 for ; Thu, 1 Nov 2012 23:10:10 +0000 (UTC) Received: (qmail 35074 invoked by uid 500); 1 Nov 2012 23:10:07 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 35041 invoked by uid 500); 1 Nov 2012 23:10:07 -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 35033 invoked by uid 99); 1 Nov 2012 23:10:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 23:10:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ben@indietorrent.org designates 205.186.134.222 as permitted sender) Received: from [205.186.134.222] (HELO indietorrent.org) (205.186.134.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 23:09:59 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by indietorrent.org (Postfix) with ESMTP id 71EEF6A3007C for ; Thu, 1 Nov 2012 16:09:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at indietorrent.org Received: from indietorrent.org ([127.0.0.1]) by localhost (indietorrent.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aB8Kj9UX+LXm for ; Thu, 1 Nov 2012 16:09:27 -0700 (PDT) Received: from [127.0.0.1] (cpe-74-65-140-19.maine.res.rr.com [74.65.140.19]) (Authenticated sender: ben@indietorrent.org) by indietorrent.org (Postfix) with ESMTPSA id 189846A30071 for ; Thu, 1 Nov 2012 16:09:27 -0700 (PDT) Message-ID: <5093011F.9040400@indietorrent.org> Date: Thu, 01 Nov 2012 19:09:19 -0400 From: Ben Johnson User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: users@httpd.apache.org References: <93361C67E4EE844A80935863A4FF4B6C062F1AE5@Exch2010MB-2.univ.dir.wwu.edu> <5092DEF5.5050805@indietorrent.org> <93361C67E4EE844A80935863A4FF4B6C062F1B5B@Exch2010MB-2.univ.dir.wwu.edu> In-Reply-To: <93361C67E4EE844A80935863A4FF4B6C062F1B5B@Exch2010MB-2.univ.dir.wwu.edu> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] htaccess file trouble On 11/1/2012 6:30 PM, Marc Fromm wrote: > It looks like mod_info is installed (/usr/lib/httpd/modules/mod_info.so) > How can I use it to see why the .htaccess file is being ignored? Firstly, be sure that the module is actually enabled. As far as specific directives are concerned, here's how I do it; I add these directives to my primary Apache configuration file: Order allow,deny Allow from all SetHandler server-info SSLOptions +StrictRequire SSLRequireSSL SSLRequire %{HTTP_HOST} eq "example.com" AuthType Basic AuthName "Authorization Required" AuthBasicProvider dbm AuthDBMType DB AuthDBMUserFile "/var/www/apache-users" AuthDBMGroupFile "/var/www/apache-users" require group programmers Tailor to suit your specific requirements. If you're using Apache 2.4, you will need to change the first two lines inside the block, as 2.4 uses a different syntax. Good luck! -Ben > -----Original Message----- > From: Ben Johnson [mailto:ben@indietorrent.org] > Sent: Thursday, November 01, 2012 1:44 PM > To: users@httpd.apache.org > Subject: Re: [users@httpd] htaccess file trouble > > > > On 11/1/2012 4:31 PM, Marc Fromm wrote: >> I have some .htaccess files in directories in /var/www/html which work >> great. >> >> I create an .htaccess file in /var/www/secure/html/phpPgAdmin/ but it >> is being ignored. >> >> >> >> I checked all the common mistakes like misspelled, syntax, and >> AllowOverride is set to All. > > In which configuration file is AllowOverride set to All? > > We could guess at this all day, but the most prudent course of action is probably to install mod_info, which should make tracking-down the root-cause trivial. > >> I am using: httpd-2.2.6-1.fc6 (I know it's old) >> >> >> >> Any ideas on why the .htaccess file seems to be ignored in the secure area? >> >> >> >> Thanks >> >> >> >> >> >> Marc >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org