Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    bcw
    bcw is offline
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default Where is the httpd.conf file?

    Where can I find the httpd.conf file in WHM? How can I edit it?

  2. #2
    Member bamasbest's Avatar
    Join Date
    Jan 2004
    Posts
    531

    Default

    You can't edit via WHM. You need to ssh into your box as root and you should then be able to edit /etc/httpd/conf/httpd.conf

    Naturally, I would recommend you backup your original file before making any changes.

  3. #3
    bcw
    bcw is offline
    Member
    Join Date
    Jun 2004
    Posts
    7

    Default How do I SSH the box?

    How do you SSH the box?

  4. #4
    Member
    Join Date
    Oct 2003
    Posts
    1,020

    Default

    If you are running a windows OS, then you need to get an SSH client (I recommend puTTY).

    You need to read through these forums for awhile paying close attention to some of the newbie and secure your box threads. Any concepts you do not understand, run a search for (either here or on google) and I am sure you will find answers.

  5. #5
    Member NovemberRain's Avatar
    Join Date
    Sep 2003
    Location
    Istanbul
    Posts
    59
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    You don't need to ssh into the box. You can just login via ftp using your server's ip and root password. You need a ftp manager program that supports SecureFTP, I prefer CuteFTP Pro. It is lot easier.
    Last edited by NovemberRain; 07-01-2004 at 08:12 PM.

  6. #6
    Member NovemberRain's Avatar
    Join Date
    Sep 2003
    Location
    Istanbul
    Posts
    59
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Well, I can

  7. #7
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Then you have a very insecure server. You should never ever allow direct root logins and should always require to su to root. Just because it can be done that way does not make it the correct nor secure way of doing it.
    Regards,
    David
    Forum Moderator

  8. #8
    Member NovemberRain's Avatar
    Join Date
    Sep 2003
    Location
    Istanbul
    Posts
    59
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by dgbaker
    Then you have a very insecure server. You should never ever allow direct root logins and should always require to su to root. Just because it can be done that way does not make it the correct nor secure way of doing it.
    How can i disable direct root logins?

  9. #9
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Follow the instructions here to the letter - > http://www.webhostgear.com/24.html
    Regards,
    David
    Forum Moderator

Similar Threads & Tags
Similar threads

  1. File caching permanently for server - httpd.conf
    By postcd in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-02-2011, 03:14 AM
  2. What does httpd.conf,v file suppose to mean?
    By pratapsingh in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-08-2009, 10:37 AM
  3. tweak httpd.conf which include file?
    By kernow in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-13-2009, 02:24 PM
  4. Unable to open HTTPD.Conf file.
    By inogenius in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 08-11-2005, 10:07 AM
  5. EDGE_114 broke my httpd.conf file
    By xWho in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-08-2005, 10:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube