How to stick my changes in httpd.conf on WHM/Cpanel/EasyApache

Posted by Seiti on Server Fault See other posts from Server Fault or by Seiti
Published on 2009-07-16T23:56:44Z Indexed on 2014/08/25 10:22 UTC
Read the original article Hit count: 243

Filed under:
|
|

I'm setting up a server and trying to configure the Apache. It only needs to work as a frontend to Tomcat.

To do that I added some instructions to the VirtualHost directive, using mod_proxy:

<VirtualHost *>
  ServerName myserver.domain.com
  ProxyRequests Off
  ProxyPass / http://myserver.domain.com:8080/
  ProxyPassReverse / http://myserver.domain.com:8080/    
</VirtualHost>

It works fine, and if the need comes, I´ll use mod_jk.

But, how do I do it the right way using easyapache, and stop it to always rewrite my changes.

© Server Fault or respective owner

Related posts about cpanel

Related posts about httpd.conf