Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    51
    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:
    51
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice