delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/29/20:09:32

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: Using authentication under Apache for Cygwin
Date: Mon, 29 Sep 2003 17:11:17 -0700
Lines: 35
Message-ID: <blahja$33i$1@sea.gmane.org>
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

Now that Apache for Cygwin seems to work more reliably I have started 
using it as my web server. However authentication (that was working with 
Apache for Windows) broke. I'm wondering if this is an Apache for Cygwin 
specific problem.

I used to have this implemented at the server level in the httpd.conf 
file like so:

# 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. The user is let in without being prompted 
for a username/password. I've also tried using a .htaccess file:

AuthType Basic
AuthName "permission to add a bug"
AuthUserFile /etc/apache/addbug_users

Require valid-user

With the same non-success. I had cranked up the loglevel in the hopes 
that something about the failure would be written to the logs but 
nothing is. How can I debug/fix this? Does Apache for Cygwin do any 
authentication at all?

Apache 1.3.24; Cygwin 1.5.4

===
I love defenseless animals, especially in a good gravy



--
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