Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Web Help Desk (WHD) > WHD - Knowledgebase Articles > How to run WHD and Apache Tomcat on port 80

How to run WHD and Apache Tomcat on port 80

Table of contents

Updated: July 21, 2017

Overview

If you need Apache Tomcat to run on port 80, you can configure it to proxy requests to Web Help Desk on port 8081. This will make it appear as if he application is running on port 80.

Environment

  • All Web Help Desk versions

Steps

  1. Stop the Apache server.
  2. Log in to the Web Help Desk server as an administrator.
  3. Navigate to the WebHelpDesk directory.
    Apple® OS X: /Library/WebHelpDesk    
    Microsoft® Windows®: \Program Files\WebHelpDesk    
    Red Hat®/CentOS™/Fedora Linux: /usr/local/webhelpdesk
  4. Open the /conf directory. 
  5. Open the whd.conf file in a text editor (such as Notepad).
  6. Leave the DEFAULT_PORT value set to 8081.
  7. Set the URL_DEFAULT_PORT value to 80.
  8. Save and close the file.
  9. Log on to your Apache server using an SSH or telnet client.
  10. Enable the mod_proxy module in your Apache Tomcat installation.
    See Apache Module mod_proxy on the Apache website for details. 
  11. Locate the Apache httpd.conf configuration file.
    This file is typically located at /etc/httpd/conf/httpd.conf.
    See DistrosDefaultLayout for more information.
  12. Add the following lines at the end of your httpd.confApache configuration file.
    ProxyPass /helpdesk http://localhost:8081/helpdesk
    ProxyPassReverse /helpdesk http://localhost:8081/helpdesk
  13. Start the Apache server.

 

Last modified

Tags

Classifications

Public