[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#315847: marked as done (.htaccess is ignored)



Your message dated Mon, 27 Jun 2005 10:22:36 +1000 (EST)
with message-id <3813.203.49.196.168.1119831756.squirrel@mail.0c3.net>
and subject line Bug#315847: .htaccess is ignored
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Jun 2005 12:23:32 +0000
>From olaf@zaplinski.de Sun Jun 26 05:23:32 2005
Return-path: <olaf@zaplinski.de>
Received: from binky.tuxfriends.net [62.206.102.82] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DmWAd-0004KD-00; Sun, 26 Jun 2005 05:23:32 -0700
Received: from binky.tuxfriends.net (localhost [127.0.0.1])
	by binky.tuxfriends.net (Postfix) with ESMTP id 1000C3400
	for <submit@bugs.debian.org>; Sun, 26 Jun 2005 14:23:25 +0200 (CEST)
Received: from [192.168.42.2] (wally.dnsalias.net [62.8.253.62])
	by binky.tuxfriends.net (Postfix) with ESMTP id B08E333DA
	for <submit@bugs.debian.org>; Sun, 26 Jun 2005 14:23:24 +0200 (CEST)
Message-ID: <[🔎] 42BE9E41.50801@zaplinski.de>
Date: Sun, 26 Jun 2005 14:23:29 +0200
From: Olaf Zaplinski <olaf@zaplinski.de>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: submit@bugs.debian.org
Subject: .htaccess is ignored
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-AV-Checked: ClamAV using ClamSMTP
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: apache2
Version: 2.0.54-4
Severity: grave


I just upgraded from my self compiled apache1 to Debians apache2. Now 
.htaccess directives are ignored.


my sites-available/default:

NameVirtualHost *
<VirtualHost *>
         ServerAdmin webmaster@localhost

         DocumentRoot /var/www/
         <Directory />
                 Options Indexes FollowSymLinks MultiViews
                 AllowOverride None
         </Directory>
         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
         <Directory "/usr/lib/cgi-bin">
                 AllowOverride None
                 Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
                 Order allow,deny
                 Allow from all
         </Directory>

	AccessFileName .htaccess
         <Directory /logs>
                 Options none
                 AllowOverride AuthConfig
         </Directory>

         ErrorLog /var/log/apache2/error.log

         # Possible values include: debug, info, notice, warn, error, crit,
         # alert, emerg.
         LogLevel warn

         CustomLog /var/log/apache2/access.log combined
         ServerSignature On

     Alias /doc/ "/usr/share/doc/"
     <Directory "/usr/share/doc/">
         Options Indexes MultiViews FollowSymLinks
         AllowOverride None
         Order deny,allow
         Deny from all
         Allow from 127.0.0.0/255.0.0.0 ::1/128
     </Directory>

</VirtualHost>


But if I browse to http://[ip address]/logs, I am not asked for a 
password. apache1 worked fine. Of course I have a .htaccess file in 
/var/www/logs:

AuthUserFile /etc/httpd/htpasswd
AuthName Logs
AuthType Basic
<Limit GET>
require user olaf
</Limit>

I even re-created /etc/httpd/htpasswd. "apache2ctl -l" says:

Compiled in modules:
   core.c
   mod_access.c
   mod_auth.c
   mod_log_config.c
   mod_logio.c
   mod_env.c
   mod_setenvif.c
   prefork.c
   http_core.c
   mod_mime.c
   mod_status.c
   mod_autoindex.c
   mod_negotiation.c
   mod_dir.c
   mod_alias.c
   mod_so.c

---------------------------------------
Received: (at 315847-done) by bugs.debian.org; 27 Jun 2005 00:23:07 +0000
>From adconrad@0c3.net Sun Jun 26 17:23:07 2005
Return-path: <adconrad@0c3.net>
Received: from loki.0c3.net [69.0.240.48] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DmhP1-0007uV-00; Sun, 26 Jun 2005 17:23:07 -0700
Received: from localhost
	([127.0.0.1] helo=mail.0c3.net ident=www-data)
	by loki.0c3.net with esmtp (Exim 4.34)
	id 1DmhOW-0005Sd-W1; Sun, 26 Jun 2005 18:22:37 -0600
Received: from 203.49.196.168
        (SquirrelMail authenticated user adconrad)
        by mail.0c3.net with HTTP;
        Mon, 27 Jun 2005 10:22:36 +1000 (EST)
Message-ID: <3813.203.49.196.168.1119831756.squirrel@mail.0c3.net>
In-Reply-To: <[🔎] 42BE9E41.50801@zaplinski.de>
References: <[🔎] 42BE9E41.50801@zaplinski.de>
Date: Mon, 27 Jun 2005 10:22:36 +1000 (EST)
Subject: Re: Bug#315847: .htaccess is ignored
From: "Adam Conrad" <adconrad@0c3.net>
To: "Olaf Zaplinski" <olaf@zaplinski.de>,
 315847-done@bugs.debian.org
Reply-To: adconrad@0c3.net
User-Agent: SquirrelMail/1.5.1 [CVS]
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
Content-Transfer-Encoding: 8bit
Delivered-To: 315847-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.5 required=4.0 tests=BAYES_10,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Olaf Zaplinski wrote:
>
> <Directory /logs>
> Options none
> AllowOverride AuthConfig
> </Directory>
>
> But if I browse to http://[ip address]/logs, I am not asked for a
> password.

<Directory> statements don't refer to virtual web directories, they refer
to FILESYSTEM directories.  So, what you probably want here is "<Directory
/var/www/logs/>"

... Adam




Reply to: