Article:
  Build Your Own Apache Server with mod_perl
Subject:   or...
Date:   2002-11-05 15:31:21
From:   anonymous2
port install apache +mod_perl_expt


with darwinports will build a static mod_perl, with the patched httpd to give a working libapreq. in fact, it will also compile Perl 5.8.0 for you as a dependancy.


HTH the lazy of you out there


Michael

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • or...
    2003-04-12 17:12:04  anonymous2 [View]

    Here is an email conversation with the above author.

    The +<name> syntax is the darwinports syntax for executing a variant of
    a port, so 'port install vim +x11' might install vim with the XFree86
    stuff compiled in. In the case of apache there is a variant called
    mod_perl (mod_perl_expt has gone away, it is no longer experimental as
    the patches to make it work properly are in the main apache source tree
    now).

    At the moment mod_perl is only available as a variant of the apache port
    in darwinports and only as a static module. I'll probably get around to
    making a dynamic module (and some others) that will be separate ports.

    The layout used in darwinports is essentially the FreeBSD layout, where
    there is a /opt/local/www dir which contains the CGI and document roots.
    the Apache configuration files are in /opt/local/etc/apache and the
    binaries are in /opt/local/bin and /opt/local/sbin.

    I haven't tested this port with the perl install as described on
    apple.com, it should work afaik, but I don't know for sure.

    ONe thing to bear in mind, I just broke the perl5.8 port trying to make
    it cleaner, it should be fixed soon, but likely not in the next day or
    two. (If you do decide to put a perl in /opt/local.

    HTH

    Michael

    Useful heh? This was posted 4/12/03
  • David Wheeler photo or...
    2002-11-11 13:07:06  David Wheeler | O'Reilly Author [View]

    Yeah, that's good too. I wouldn't mind seeing articles on the Darwin ports project, or on Fink. What you posted is great for folks who already have Darwin Ports stuff installed, but others might be intersted to know what Darwin Ports is about, and what's involved in installing it and using it. Same goes for Fink, of coruse.



    Regards,



    David