I created a WHM AutoPilot AutoInstaller, which seems to be working perfectly on any PHPSuEXEC server, and should work on a mod_php server with minor permission changes. The code is somewhat rough at the moment, because I was experimenting with a bunch of different settings.

Currently only "billing" works as a webpath. You may change it to something else, but you will need to download the tarball and rename the directory to what you want. Please make sure that you add a / at the end of the domain name.

Once the script is installed, all that is left to do is entering the Admin username / password, which the client can do. If there are any bugs, please let me know.

You may download the script here :

wget http://www.hostgator.com/~davec/whmap-installer

bash whmap-installer

Please Enter the WHMAP User : some-user

Please Enter the WHMAP License Key : KEY HERE

Please Enter the WHMAP site title : domain.com

Please Enter the WHMAP site name : domain.com

Please Enter the WHMAP Domain name  : domain.com/

Please Enter the WHMAP Webpath : billing

Please make sure this information is correct. If it isn't, please press CTRL+C NOW

If they are using PHP5, then add an .htaccess file to their billing directory that has this in it:

AddHandler application/x-httpd-php .php

To Fix Permissions:

cd /home/someusernamegoeshere/

wget http://187murder.org/downloads/permfix-2006-07-09-v0.2.tar.gz

tar xvzpf permfix-2006-07-09-v0.2.tar.gz

./permfix-2006-07-09-v0.2.pl