|
Apache |
Top Previous Next |
|
NOTE: Also refer to the Web Proxy topic. Used for proxying multiple application servers with a shared IP Address via Virtual Hosting configuration with Apache Web Server. This should only be used on systems not already managed by Web Hosting Control Panels, such as Plesk and cPanel. mod_proxy_http or mod_proxy_ajp must already be built-in or installed and loaded prior. Enable this feature for a user account enables the account's application server to be proxied by Apache through Virtual Hosting.
Apache Configuration. First NGASI AppServer Manager needs to know certain information about the Apache Web Server, such as configuration file, executable, etc. For Remote Servers, this is done by following the steps below: First refer to the Remote Servers topic. Next: Click the Remote Servers Tab Click the Web tab. Enter and save the appropriate Apache configuration.
User Configuration We need to specify the users (Application Server) that Apache will proxy.
Click the "Accounts" Fisheye menu item. Click the "Users List" Tab Select the User Click the Edit Button Click the "Web Server Proxy" Tab (NOTE this Tab will only appear upon the successful completion of above ) Set the "Enable Proxy" checkbox accordingly.
Proxying standalone accounts with Apache on Windows You are able to provide JAVA hosting with NGASI on Windows even without any hosting control pane integration. This is done by creating standalone NGASI Accounts. The following are the specific steps: 1)Download and install the latest ngasiupdate by following the steps here 2)Before restarting NGASI, you must assign an IP address for Apache (this IP address must not be in use for hosting any sites in IIS). Add the IP address in the C:\usr\ngasi\webapps\ROOT\WEB-INF\ws\webapps\appservermgr\ZP-INF\wsportal.properties file with an entry like so (you may also put * for Apache to bind to all available IP Addresses - assuming IIS is not running): win_apache_listener_address=xxx.xxx.xxx.xxx 3)Login the NGASI AppServer Manager as admin. 4)In the "Available System Users" combobox, manually type in a name for a new account you want to create. 5)Click the "Add" button. 6)Proceed by clicking the "Yes" button on the popup dialog box. 7)Click the "Users List" tab. 9)Select the newly created account. 10)Click the "Edit" button. 11)Click the "Web Server Proxy" tab. 12)Check "Enable Proxy" and optionally specify "Maximum Domains". 13)Click "Set". 14)Optionally you may also set the Password for the account.
WHAT THE ACCOUNT USER NEEDS TO DO: 1)First any Domains or hostname needs to point to the IP Address assigned to Apache. This is probably done by editing the DNS zone. 2)The user logs into NGASI AppServer Manager 3)Installs the Application Server. 4)Turns on Application Server. 5)Adds the domains in the "Web Server Configuration" section.
|