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=EP3e9hHO6AuVL6lb8w/xmQUcI29jQs kMRx4gqIPohcv0PMKWTEZXN/ynMXJwiObYZfhykLo8m+Of80IkJ02v0jX8h7MSyL rewL5Mjji3asGPjoazF6W15BTR6Mag46DjCRjw1xp7UP6Y8Dkok8TSOb/hGi53mf qyjQ3ehH1ZZyI= 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=7VpJsVh23XdDrVC1H3CpP2PipVU=; b=jn9N Wv9S1I33b9f0feUuToG2BoxKMAz/WwlOOfGQ3oI4Ks+s5HoDK9La3QWx+sgmzhRp FZ/mhPqBGZjBOstLiqtVh1GE4WOx0r7qlFwwmcLDyBU9GAoAzipwgeojcSTumJbT fGceHJJWCHvxeS7zTuLsx8yURWl0TmuCMMWyspo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.1 required=5.0 tests=AWL,BAYES_50,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 Subject: Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP Date: Tue, 06 May 2014 19:30:48 -0700 Lines: 133 Message-ID: References: <53691F19 DOT 1080606 AT audience DOT com> <536938EE DOT 7090201 AT etr-usa DOT com> <5369596E DOT 4060902 AT etr-usa DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <5369596E.4060902@etr-usa.com> X-IsSubscribed: yes On 5/6/2014 2:51 PM, Warren Young wrote: > On 5/6/2014 15:10, Andrew DeFaria wrote: >> >> Yeah thanks for all of that but really my real goal was just to get >> Apache2::AuthCookieLDAP working. > > Plack::Middleware::Auth::Basic supports LDAP auth: http://goo.gl/O7RHgp > >> 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. > > The two issues are actually separate. There's nothing making you use > ActiveState Perl to run a PSGI app front-ended by native Windows Apache. > PSGI apps behind a reverse proxy simply present an HTTP interface to > the proxy. As far as the proxy server knows, the app providing that > interface could be built in F#. If you are using a Cygwin based Apache then it will follow symlinks whereas my experience with the Windows based Apache it doesn't. > > (Why F#? Another new favorite tool, and about as different from Perl as > you can get. :) ) > >> 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... > > Did you try -F? > > http://comments.gmane.org/gmane.os.cygwin/60331 That message was about Apache 1.3. I'm on Apache 2.2. There is no -F option: Adefaria-lt:/usr/sbin/httpd2 -F httpd2: illegal option -- F Usage: /usr/sbin/httpd2 [-D name] [-d directory] [-f file] [-C "directive"] [-c "directive"] [-k start|restart|graceful|graceful-stop|stop] [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] Options: -D name : define a name for use in directives -d directory : specify an alternate initial ServerRoot -f file : specify an alternate ServerConfigFile -C "directive" : process directive before reading config files -c "directive" : process directive after reading config files -e level : show startup errors of level (see LogLevel) -E file : log startup errors to file -v : show version number -V : show compile settings -h : list available command line options (this page) -l : list compiled in modules -L : list available configuration directives -t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings) -S : a synonym for -t -D DUMP_VHOSTS -t -D DUMP_MODULES : show all loaded modules -M : a synonym for -t -D DUMP_MODULES -t : run syntax check for config files -T : start without DocumentRoot(s) check Adefaria-lt: --
Andrew DeFaria
ClearSCM, Inc.
-- 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