Submit a ticketCall us

AnnouncementsChange Is Inevitable

Get valuable help when it comes to tracking and monitoring changes. SolarWinds® Server Configuration Monitor (SCM) is designed to help you: detect, track, and receive alerts when changes occur, correlate system performance against configuration changes, compare server and application configuration against custom baselines, and verify application and system changes.

Learn more.

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 the 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