delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/30/17:36:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: Using authentication under Apache for Cygwin
Date: Tue, 30 Sep 2003 14:37:36 -0700
Lines: 60
Message-ID: <blcsvj$6g8$1@sea.gmane.org>
References: <blahja$33i$1 AT sea DOT gmane DOT org> <1681 DOT 1064900817 AT www31 DOT gmx DOT net>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
In-Reply-To: <1681.1064900817@www31.gmx.net>

S. L. wrote:

> [...]
>
>> # Secure addbug form
>> <Directory "//sonscentral/users/adefaria/www/Internal/Release/addbug/">
>> AuthName "permission to add a bug"
>> AuthType Basic
>> AuthUserFile /etc/apache/addbug_users
>> Require valid-user
>> </Directory>
>>
>> However that fails to work.
>
> [...]
>
> An "AllowOverride AuthConfig" directive, must also be placed. E.g.
>
> <Directory "/your/directory/here">
> Options Indexes FollowSymLinks
> AllowOverride AuthConfig
> order deny,allow
> allow from all
> </Directory>
>
> and placing all authentication stuff in .htaccess, should do it.

Actually my <Directory /> had AllowOverried all. I tried:

# Secure addbug form
<Directory "//sonscentral/users/adefaria/www/Internal/Release/addbug/">
    Options Indexes FollowSymLinks
    AllowOverride AuthConfig
    order deny,allow
    allow from all
    AuthName "permission to add a bug"
    AuthType Basic
    AuthUserFile /etc/apache/addbug_users
    Require valid-user
</Directory>

And

# Secure addbug form
<Directory "//sonscentral/users/adefaria/www/Internal/Release/addbug/">
    Options Indexes FollowSymLinks
    AllowOverride AuthConfig
    order deny,allow
    allow from all
#    AuthName "permission to add a bug"
#    AuthType Basic
#    AuthUserFile /etc/apache/addbug_users
#    Require valid-user
</Directory>

With the .htaccess file. Neither method worked. I was allowed in without 
any authentication.
===
There's too much blood in my caffeine system.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019