SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
30
www/ap2-mod_perl/pkg/README
Normal file
30
www/ap2-mod_perl/pkg/README
Normal file
|
@ -0,0 +1,30 @@
|
|||
+-----------------------------------------------------------------------
|
||||
| Running ${PKGSTEM} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
Prerequisites
|
||||
=============
|
||||
|
||||
Since perl(1) does not support ithreads, mod_perl will only work with
|
||||
the prefork MPM.
|
||||
|
||||
To ensure that Apache2 is configured to use the prefork MPM, edit
|
||||
${SYSCONFDIR}/apache2/httpd2.conf and add the following line:
|
||||
|
||||
LoadModule mpm_prefork_module ${PREFIX}/lib/apache2/mod_mpm_prefork.so
|
||||
|
||||
Remove any lines loading other MPM modules.
|
||||
|
||||
For information about ithreads, see http://perldoc.perl.org/threads.html.
|
||||
|
||||
Enabling mod_perl
|
||||
=================
|
||||
|
||||
Before you can use ap2-mod_perl, you need to enable it on your
|
||||
Apache2 configuration.
|
||||
|
||||
Edit ${SYSCONFDIR}/apache2/httpd2.conf and add the following line:
|
||||
|
||||
LoadModule perl_module ${PREFIX}/lib/apache2/mod_perl.so
|
||||
|
||||
Restart Apache2 for changes to make effect.
|
Loading…
Add table
Add a link
Reference in a new issue