Installing Apache MPM-ITK
From ISPWiki
Contents |
Installing Apache MPM-ITK on FreeBSD
(checked 2009 - 11 -30 on FreeBSD 6.3)
ISPmanager supports Apache MPM-ITK, a Multi-Processing Module for the Apache web server, that allows to run scripts executed by a web-server (for example php in apache mode) with privileges of a virtual host owner.
Following are the steps you need to go through to install Apache MPM-ITK.
Reinstalling the apache22 port
Delete the old Apache (make deinstall won't work due to the modified package name)
cd /usr/ports/www/apache22/ make deinstall
Specify WITH_MPM=itkin in Makefile.local
echo 'WITH_MPM=itk' >> Makefile.local
Set and reinstall the port
make install clean
Editing the configuration file
Execute the commands to change SuexecUserGroup into AssignUserID in the configuration file
cd /usr/local/etc/apache22/ perl -p -i -e 's/SuexecUserGroup/AssignUserID/g' httpd.conf
Configuring ISPmanager
Add the line into the ISPmanager configuration file (/usr/local/ispmgr/etc/ispmgr.conf)
Option ApacheMPM
Restarting ISPmanager and Apache
killall ispmgr /usr/local/etc/rc.d/apache22 restart
The installation is complete.
