Showing posts with label suexec virtualmin. Show all posts
Showing posts with label suexec virtualmin. Show all posts

Thursday, July 23, 2009

Ubuntu : Rebuilding suexec with Different Options

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)