Location: PHPKode > projects > JAP4CPANEL > EZ/EZ/UPLOAD/README.txt
----------
JAP4CPANEL
----------
JAP4CPANEL is a proxy that allows you to access CPANEL, WEBHOSTMANAGER and WEBMAIL through port 80. 
It is compatible with the latest version of CPANEL, WEBHOSTMANAGER and WEBMAIL and uses the CURL library to optimize performance.

JAP4CPANEL is available for PHP4 and PHP5, but requires the CURL library (which is installed on most webhosts).

Installation:
-------------
a) CPANEL:
----------
1. Open CPANEL and create a new subdomain (for example: your domain: mydomain.com, your subdomain: cpanel.mydomain.com)
2. Unzip JAP4CPANEL-x.y.z.zip and upload TMP, .htaccess, jap.index.php, jap.php4.php and jap.php5.php to the directory associated with your new subdomain (for example: /public_html/cpanel/)
3. Open and edit jap.index.php (for example: /public_html/cpanel/jap.index.php)
3.1. Change "$jap = new Jap('http://j4php.org:2082');" to "$jap = new Jap('http://mydomain.com:2082');"
3.2. Save jap.index.php
4. Change permissions (chmod) of TMP to 777 (for example: /public_html/cpanel/TMP/)
5. Open http://cpanel.mydomain.com in your browser

b) WEBHOSTMANAGER:
------------------
1. Open CPANEL and create a new subdomain (for example: your domain: mydomain.com, your subdomain: whm.mydomain.com)
2. Unzip JAP4CPANEL-x.y.z.zip and upload TMP, .htaccess, jap.index.php, jap.php4.php and jap.php5.php to the directory associated with your new subdomain (for example: /public_html/whm/)
3. Open and edit jap.index.php (for example: /public_html/whm/jap.index.php)
3.1. Change "$jap = new Jap('http://j4php.org:2082');" to "$jap = new Jap('http://mydomain.com:2086');"
3.2. Save jap.index.php
4. Change permissions (chmod) of TMP to 777 (for example: /public_html/whm/TMP/)
5. Open http://whm.mydomain.com in your browser

c) WEBMAIL:
-----------
1. Open CPANEL and create a new subdomain (for example: your domain: mydomain.com, your subdomain: webmail.mydomain.com)
2. Unzip JAP4CPANEL-x.y.z.zip and upload TMP, .htaccess, jap.index.php, jap.php4.php and jap.php5.php to the directory associated with your new subdomain (for example: /public_html/webmail/)
3. Open and edit jap.index.php (for example: /public_html/webmail/jap.index.php)
3.1. Change "$jap = new Jap('http://j4php.org:2082');" to "$jap = new Jap('http://mydomain.com:2095');"
3.2. Save jap.index.php
4. Change permissions (chmod) of TMP to 777 (for example: /public_html/webmail/TMP/)
5. Open http://webmail.mydomain.com in your browser

License:
--------
JAP4CPANEL (http://jap4cpanel.sourceforge.net/)
Copyright (C) 2007-2008 Jeroen Van Steirteghem

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Return current item: JAP4CPANEL