Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Apache on Windows, and Apache:: Modules vs. Non-Apache

by nop (Hermit)
on Feb 16, 2003 at 20:25 UTC ( [id://235791]=perlquestion: print w/replies, xml ) Need Help??

nop has asked for the wisdom of the Perl Monks concerning the following question:

I've been trying to get a development WinNT machine running with mod_perl and Apache. I've been able to do this successfully two different ways: Indigo binaries and Cygwin out-of-the-box binaries. I also tried to build Apache and mod_perl from sourece under Cygwin; Apache compiled fine but I had problems with mod_perl.

On my linux production server, I want (I think) to use Apache::Cookie and Apache::LogFile in my application. If I do, I'd obviously need the same on the development box.

The problem is these modules use libapreq, which according to extensive google searching is hard (or impossible) to get running under Windows, or under Cygwin.

My question has three parts:
  1. Did I miss something? That is, maybe I'm missing something obvious and this isn't hard and someone can point me to a link that gets these packages working for me under Windows.
  2. Am I going down the wrong path altogether? That is, should I abandon my intent to use these two modules and use CGI::Cookie and some hand-rolled logging functionality instead? (The modperl developer's cookbook p.552 warns against rolling-your-own logfile routines, so that scared me off...)
  3. If the Apache:: modules aren't the right approach, and I do use CGI:: and hand-rolled logging, what am I sacrificing? That is, what are the cons of CGI::Cookie vs. Apache::Cookie? And can anyone point me towards good code that mimics the functionality of Apache::Logfile?
Thanks for helping out.

Quite befuddled --

nop
  • Comment on Apache on Windows, and Apache:: Modules vs. Non-Apache

Replies are listed 'Best First'.
Re: Apache on Windows, and Apache:: Modules vs. Non-Apache
by PodMaster (Abbot) on Feb 16, 2003 at 23:37 UTC
    I'd reccommend against using Apache::LogFile. It includes no tests whatsoever, and has not been updated since 16 Nov 1998.

    As for mod_perl/libapreq for windows, most folks just get PPM binaries from Randy ( http://theoryx5.uwinnipeg.ca/ppmpackages/ for 5.6x, http://theoryx5.uwinnipeg.ca/ppms/ for 5.8x ).


    MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
    I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: Apache on Windows, and Apache:: Modules vs. Non-Apache
by strat (Canon) on Feb 17, 2003 at 10:28 UTC
    Maybe Apachefriends/WAMPP might save you a lot of work under Windows; I use WAMPP a lot for development boxes under Windows, but have never used it for production systems (well, there I wouldn't use Windows :-) )

    Best regards,
    perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://235791]
Approved by adrianh
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found