Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Yaakov (Cygwin/X)
On 2014-05-06 12:42, Andrew DeFaria wrote: Goal: Set up Apache2 on my Windows laptop with mod_perl working as well as Apache2::AuthCookieLDAP and write an example login page that authenticates to Active Directory using AuthCookieLDAP. First problem (minor): I can't figure out how to install Apac

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Andrew DeFaria
On 5/7/2014 5:12 PM, Warren Young wrote: On 5/6/2014 11:42, Andrew DeFaria wrote: Adefaria-lt:cygrunsrv -I httpd2 -d 'CYGWIN Apache2' -p This may be your problem. While poking around in /usr/sbin, I found httpd2-config, which is 167 lines long, so it must be doing something fairly clever. I

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Warren Young
On 5/6/2014 11:42, Andrew DeFaria wrote: Adefaria-lt:cygrunsrv -I httpd2 -d 'CYGWIN Apache2' -p This may be your problem. While poking around in /usr/sbin, I found httpd2-config, which is 167 lines long, so it must be doing something fairly clever. I tried it, and Cygwin Apache is running

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Andrew DeFaria
First off, David Habermann, you really should respond to the list instead of emailing me directly so that others can benefit. Dave wrote: >If you are using a Cygwin based Apache then it will follow symlinks=20 >whereas my experience with the Windows based Apache it doesn't. Although not a popul

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Andrew DeFaria
On 5/7/2014 6:33 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! Hey guys! I missed you! :-) 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. Then u

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Andrew DeFaria
On 5/7/2014 6:23 AM, Andrey Repin wrote: Goal: Set up Apache2 on my Windows laptop with mod_perl working as well as Apache2::AuthCookieLDAP and write an example login page that authenticates to Active Directory using AuthCookieLDAP. Little bit OT: Is this necessary to set up Cygwin Apache/Perl?

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Andrey Repin
Greetings, Andrew DeFaria! > I've been working mainly on Linux boxes and haven't had to dig in to > Cygwin deeply for a while. But I have a question or two again. I could > just switch to a Linux server but I figured I'd try my Windows laptop first. > Goal: Set up Apache2 on my Windows laptop w

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-07 Thread Andrey Repin
Greetings, Andrew DeFaria! >> 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

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Andrew DeFaria
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 be

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Warren Young
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

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Andrew DeFaria
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 s

Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Andrew DeFaria
Forgive me if this is double posted. I posted yesterday after a long hiatus of posting anything to the Cygwin Mailing list and it didn't seem to show up so I'm trying again. If anybody sees this then a quick email to adefa...@audience.com saying you saw it would clear that up. I've been workin

Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Andrew DeFaria
I've been working mainly on Linux boxes and haven't had to dig in to Cygwin deeply for a while. But I have a question or two again. I could just switch to a Linux server but I figured I'd try my Windows laptop first. Goal: Set up Apache2 on my Windows laptop with mod_perl working as well as Ap

Re: Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Warren Young
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. Goal: Set up Apache2 on my

Setting up Apache2 with mod_perl and Apache2::AuthCookieLDAP

2014-05-06 Thread Andrew DeFaria
I've been working mainly on Linux boxes and haven't had to dig in to Cygwin deeply for a while. But I have a question or two again. I could just switch to a Linux server but I figured I'd try my Windows laptop first. Goal: Set up Apache2 on my Windows laptop with mod_perl working as well as Ap