Slashdot Mirror


Build Your Own Mac OS X Apache/mod_perl Server

Kathryn writes "An article by David Wheleer on O'Reilly's MacDev Center, Build Your Own Apache Server with mod_perl, covers issues to consider as you begin working with Apple's Apache install -- key information for any serious mod_perl-based Web development work on Mac OS X."

3 of 22 comments (clear)

  1. mod_perl DSO unstable? by red5 · · Score: 5, Informative

    The documentation is written under the false assumption that mod_perl as a DSO is unstable. I have been using mod_perl as a DSO for some time now and it works fine for me. I've herd of issues with it one Solaris/x86 but thats about it. IMHO all 3rd party modules should be compiled as DSOs.

    Also the article fails to mention the advantages of running a local proxy with the mod_proxy_add_forward module.

    --
    I know I'm going to hell, I'm just trying to get good seats.
    1. Re:mod_perl DSO unstable? by ChrisDolan · · Score: 4, Interesting

      I don't know about stability, but here's an anecdote of how mod_perl as dylib hurt me: I upgraded to 5.6.1 shortly after getting 10.1.4 (IIRC) and took all of the cinfigure defaults. This overwrote the 5.6.0 libperl.dylib with the 5.6.1 version. Boom! No more mod_perl, since mod_perl.c is linked pretty closely with a particular version of Perl. It took a LOT of careful cp'ing off the install disk to recover.

      This is mostly the fault of Apple's braindead perl install which neglects to include a "5.6.0" component to the perl tree. When I went to 5.8.0, I used "prefix=/perl" and left Apple's 5.6.0 (and mod_perl) untouched, except for replacing /usr/bin/perl.

      [disclaimer: I haven't read the article yet]

  2. As Goldblum said... by cei · · Score: 4, Informative

    Step one: Open the control panel
    Step two: Turn on Personal Web Sharing
    Step three: There's no step three! There's no step three!

    Apache & mod_perl are preinstalled in OS X. Sure, there are things you can do to tweak them, but you're given a hell of a head start by Apple...

    --
    This sig intentionally left justified.