Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Based on the current answers I'm replying...

I've got mod_perl2 + Apache2 up and running on a test machine at home. What I did was the following:

  1. Checkout the latest CVS version of mod_perl2 as the latest distribution didn't work for me :-(, so: cvs -d co modperl-2.0
  2. Generate the makefile: perl Makefile.PL MP_AP_PREFIX=/path/to/apache2 MP_INST_APACHE2=1
  3. The well known commands: make, make test and make install will create everything. NOTE: if `make test' fails; it doesn't necessarily mean the module doesn't work...!
  4. Notify Apache2 of this super module by inserting these lines into httpd.conf:
    LoadModule perl_module modules/ PerlModule Apache2 PerlSwitches -w
After a restart of Apache2, you should see in its signature that mod_perl/<version> is loaded/enabled! If so: congrats' on your succesful installation of mod_perl2! :-)


-- JaWi

"A chicken is an egg's way of producing more eggs."

In reply to Re: Apache 2 and mod_perl by JaWi
in thread Apache 2 and mod_perl by Sihal

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?

What's my password?
Create A New User
Domain Nodelet?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2022-11-27 15:11 GMT
Find Nodes?
    Voting Booth?