Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    68

    Default What needs to be in httpd.conf for cPanel?

    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,
    Specks

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Specks
    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?
    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.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    92

    Post Information about httpd.conf

    Check the link for more information about httpd.conf entries:
    http://www.redhat.com/docs/manuals/l...he-config.html

    You can rebuild httpd.conf file from proftpd.conf.
    · rebuildhttpdconffromproftpd - Rebuild httpd.conf from the proftpd.conf file.

    Use command following command to run script:
    /script/rebuildhttpdconffromproftpd


Similar Threads & Tags
Similar threads

  1. Preserve amends to /etc/httpd/conf/httpd.conf ?
    By robocrop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-14-2010, 02:08 AM
  2. cPanel/WHM 11.25 httpd.conf
    By eugui in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-22-2010, 01:35 PM
  3. httpd.conf sites/www.domain.com.conf Wildcard DNS
    By ttremain in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-16-2008, 11:19 AM
  4. httpd.conf corrupted by cPanel
    By iko in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-16-2004, 01:16 PM
  5. httpd.conf problem on cpanel
    By shann in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-08-2002, 10:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube