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.

What needs to be in httpd.conf for cPanel?

Discussion in 'General Discussion' started by Specks, Aug 31, 2006.

  1. Specks

    Specks Well-Known Member

    Joined:
    Jul 3, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    I'm trying to rebuild httpd.conf just to clean it up. I noticed when you use /scripts/rebuildhttpdconf it doesn't put in NamedVirtualHost or the Aliases you need. So besides the NamedVirtualHost and the Aliases. What else needs to be in the conf file?

    How would one rebuild the httpd.conf file completely without hastle?

    Thanks,
     
  2. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    Httpd.conf is the configuration file included in the Apache server. This file, basically, is everything to Apache. Knowing how to use it and how to edit it is extremely important in making Apache unique to your server as well as to keeping the server both efficient and secure.

    Through httpd.conf, you can configure Apache server characteristics like the server name, the port on which the server will run, the threading and process spawn limits, the modules that Apache loads, the handlers for various types of files, virtual directories and hosts, mime-types, access control, etc. Luckily, doing all of these things in the httpd.conf file is incredibly easy. Although httpd.conf file is well explained and easy to configure, I suggest you don’t play with the syntax, unless you are very comfortable with Apache server.
     
  3. websupport

    websupport Well-Known Member

    Joined:
    Jun 24, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page