Access my httpd.conf file

Discussion in 'Apache' started by Marx, Mar 3, 2007.

  1. #1
    Hi

    I want to try and tweak some of my apache settings, does anyone know how to get access to the httpd.conf file or where it is located so I can download it and edit it and then upload it again.

    I am running Cent OS and WHM/Cpanel

    Cheers MArx
     
    Marx, Mar 3, 2007 IP
  2. clancey

    clancey Peon

    Messages:
    1,099
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The file is often located in the /etc directory as /etc/httpd/conf/httpd.conf
     
    clancey, Mar 3, 2007 IP
  3. rootbinbash

    rootbinbash Peon

    Messages:
    2,198
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    0
    #3
    login via ssh (with root access)

    nano -w /etc/httpd/conf/httpd.conf
     
    rootbinbash, Mar 3, 2007 IP