The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

apache as a backend

Discussion in 'EasyApache' started by Boris Dolgov, May 2, 2008.

  1. Boris Dolgov

    Boris Dolgov Registered

    Joined:
    May 2, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi!
    I am currntly trying to make apache serve as a backend and install light http server as a frontend.
    So, I need apache's VirtualHosts to listen only 127.0.0.1:8000.
    But when I replace "[% FOREACH ipblock IN vhost.ips %] [% ipblock.ip %]:[% ipblock.port %][% END %]" to " 127.0.0.1:8000" in /var/cpanel/templates/apache2/vhost.local I have a error after rebuilding httpd.conf - in List Accounts all ip adresses have changed to 127.0.0.1.
    Currently, every time the httpd is restarting I create httpd.conf.u and replace all ip adresses there to 127.0.0.1 and then start httpd with this configuration file.
    Is there any other solution of the problem?
    Boris.
     
  2. Boris Dolgov

    Boris Dolgov Registered

    Joined:
    May 2, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page