Rebuilding suexec with Different Options on Ubuntu
Posted: July 22nd, 2009 | Author: adq890 | Filed under: config, ubuntu | Tags: suexec virtualmin | No Comments »Step 1:
Backup the current suexec. Then download stuff and go into the newly created directory:
#cd /usr/src
#sudo apt-get build-dep apache2.2-common
#sudo apt-get source apache2.2-common
#cd apache2-2.2.X/
Step 2 : Edit the build rules and change the suexec settings:
#sudo vi debian/rules
Step 3 :
Near the top are located the defaults, AP2_COMMON_CONFARGS. Find the references to suexec and modify. For instance:
By default :
–with-suexec-docroot=/var/www \
Change to :
–with-suexec-docroot=/home \
( If this will required to operate the Virtualmin)


