delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/06/17:12:20

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=YWml8Ayiamxs1NtVwoEAkjl6X2IeOH
k4pkXJ6zkHeuaxb6ngwOpXwFUNoCqnMNUhum62qCFi+lH9Lpae+hOYgwj1fjVuVK
pBQ8mNb31zf1Mf2ftNEDLSP0Axn8AIhhDayEYIv+zV6YYS04YglT4A5rPScsW4+C
1eCFe0+2/CbLA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=bL6Q3N2dC2SvLa4wMlQ8kamjQg4=; b=tfu1
KE4utaH2qIHYT/mHrx32FRRBOyfPW+tgXHOIcB61pNlfKCS9PFildY0h4JMkYwht
8THURx2GW4D63yyzfA9dKdSFJisbGRUAkfnoE6GcsveqBb2sbpMShEVJufg7RTFP
uSvZ3jr6p0hY3Fl7s8nSsimINI3+pxDSX/Gx6fs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_FSL_HELO_BARE_IP_2 autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP
Date: Tue, 06 May 2014 14:10:59 -0700
Lines: 53
Message-ID: <lkbj53$6b8$1@ger.gmane.org>
References: <53691F19 DOT 1080606 AT audience DOT com> <536938EE DOT 7090201 AT etr-usa DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
In-Reply-To: <536938EE.7090201@etr-usa.com>
X-IsSubscribed: yes

On 5/6/2014 12:33 PM, Warren Young wrote:
> On 5/6/2014 11:42, Andrew DeFaria wrote:
>> I could just switch to a Linux server but I figured I'd try my
>> Windows laptop first.
>
> Don't neglect the option of running a minimal Linux VM on the laptop.
> You can shove a headless Linux VMs into a pretty small slice of RAM.

Well I do happen to have a Linux VM but usually I'm just given a Windows 
laptop by my clients and must press on. Sure I could download and 
install vmware and get a Linux VM setup but that's a lot of work to do 
to set up a machine I'm basically only using for one thing. Sure setting 
up Cygwin takes work/care/feeding but I can then use that Cygwin 
installation all the time to connect to and develop stuff.

>> Goal: Set up Apache2 on my Windows laptop with mod_perl
>
> mod_perl has been slowly dying for years.  It's not dead yet (*thwack*)
> but it pretty much only works with Apache 2.2 and older.  RHEL7 won't
> include it at all, because it will ship with Apache 2.4.6.  There are
> third-party patches floating around the net that restore compatibility,
> but this isn't the sort of thing you want to be building programs
> against that have to live for many years to come.

...

Yeah thanks for all of that but really my real goal was just to get 
Apache2::AuthCookieLDAP working. That seems to require mod_perl. Of 
course if mod_perl is dying then that brings in the question of "Is it 
worth it to develop a login page to authenticate with Active Directory 
and store cookies to ease logins if this all might be going away?".

... <interesting info deleted but I will read up on it later - thanks! ...

> If you do go with Dancer or something like it, you don't need to use
> Cygwin Apache.  The native Windows version of Apache will perform much
> better, and when used as a reverse proxy, you probably won't need any of
> the benefits you get from using Cygwin Apache which native Apache
> wouldn't have, such as the ability to compile and load some of the more
> esoteric modules that only build on POSIXy systems.
>
>> First problem (minor): I can't figure out how to install Apache2 as a
>> Windows service.
>
> Another reason to native Windows Apache instead.

Personally I prefer Cygwin Apache because all of the pathing then can be 
POSIX-like and can easily port to Linux systems later on. Plus Cygwin's 
Perl is, IMHO, far superior to ActiveState.

However I had set up Apache2 as a Windows service before so I know it's 
doable. I just forget how to do it! ;-) I thought it was just to specify 
-k or perhaps -DNO_DETACH or something like that...


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

- Raw text -


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