Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To configure a proxy for EasyApache 4, create a virtual host include file for any domain for which you wish to proxy an application to Tomcat. Add your include file to the appropriate location in the  /etc/apache2/ directory.  For more information about Apache include files and their locations, read our our Modify Apache Virtual Hosts with Include Files documentation.

After you create or edit an Apache include userdata file, you must rebuild you must rebuild the httpd.conf file and restart  file and restart Apache for the changes to take effect. 

To rebuild the httpd.conf file, run the following script:

Code Block
languagebash
/usr/local/cpanel/scripts/rebuildhttpdconf


To restart Apache, run the following script:

Code Block
languagebash
/usr/local/cpanel/scripts/restartsrv_httpd

...