delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/29/22:47:08

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: Mon, 29 Sep 2003 19:48:59 -0700
Lines: 44
Message-ID: <3F78EF1B.8090207@Salira.com>
References: <blahja$33i$1 AT sea DOT gmane DOT org> <3F78CF0A DOT C7499403 AT wapme-systems DOT de>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
Cc: tolj AT wapme-systems DOT de
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: <3F78CF0A.C7499403@wapme-systems.de>

Stipe Tolj wrote:

>> 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?
>
> yes it does (or did ;) at least for a considerable time. I don't think 
> this is a Cygwin or Apache for Cygwin specific problem. I suggest it's 
> more to a mis-configuration.

I would tend to agree except this config worked with Apache for Windows.

> Did you try to have standard Basic HTTP Auth on a "fresh" httpd.conf 
> that comes from the distribution itself?

Good idea. Tried it. Didn't work:

$ net stop apache
The Cygwin Apache service is stopping........
The Cygwin Apache service was stopped successfully.

$ cd /etc/apache
$ mv httpd.conf httpd.conf.save
$ cp ../apache.new/httpd.conf httpd.conf
$ cp -rp ~/www/Internal/Release/addbug /var/www/htdocs
$ ll /var/www/htdocs/addbug
total 15
drwxr-xr-x+   2 adefaria Domain U        0 Sep 29 19:17 ./
drwx------+   4 adefaria Domain U        0 Sep 29 19:33 ../
-rw-r--r--    1 adefaria Domain U      132 Sep 29 19:17 .htaccess
-rw-r--r--    1 adefaria Domain U       48 Sep 18 16:06 addbug_users
-rw-r--r--    1 adefaria Domain U        8 Sep 27 15:40 current_release
-rwxr-xr-x    1 adefaria Domain U     5293 Sep  9 17:05 index.cgi*
-rwxr-xr-x    1 adefaria Domain U     5233 May 19 17:10 index.cgi.save*

I had to add ExecCGI and index.cgi to httpd.conf but that's all I 
changed. When I went to "addbug" again it let me in there without any 
authentication. Nothing to report in the log files.

Perhaps we should take this offline...
===
Ever stop to think, and forget to start again?



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