Integrate Apache Tomcat in Web Help Desk
By default, Web Help Desk runs on port 8081. If Apache Tomcat is not required and you prefer to run the application on port 80, perform the following steps:
- Stop Apache.
- Set the
DEFAULT_PORTvariable in<WebHelpDesk>>/conf/whd.confto80. - Restart Web Help Desk.
- Enable Apache to run on port 80 by allowing it to proxy requests to the Web Help Desk on port 8081.
- Open the
<WebHelpDesk>/conf/whd.conffile. - In the file, set the
URL_DEFAULT_PORTsetting to80 - Save the
<WebHelpDesk>/conf/whd.conffile. - Enable
mod_proxyas described in the Apache HTTP Server Version 2.0. Add the following lines at the end of your Apache
httpd.confconfiguration file:ProxyPass /helpdesk http://localhost:8081/helpdeskProxyPassReverse /helpdesk http://localhost:8081/helpdesk- Save the file.
See Apache Module mod_proxy on the Apache Software Foundation site for more information.
When completed, the application will appear as if it is running on port 80.
- Open the
- Restart your Apache server.