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.

Missing NameVirtualHost tags in httpd.conf

Discussion in 'General Discussion' started by trparky, Jan 9, 2006.

  1. trparky

    trparky Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    184
    Likes Received:
    1
    Trophy Points:
    0
    There are a lot of missing NameVirtualHost tags in our httpd.conf file.

    There must be an easy way for WHM to scan the httpd.conf file and build those missing NameVirtualHost tags. If so, where is it?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I'm not aware of a script. The simples thing is to take out all there are in there, get a list of your IP's and do some text based replacement work on it then add them in a whole block before the first VirtualHost directive is used.
     
Loading...

Share This Page