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.

Accessing httpd.conf

Discussion in 'General Discussion' started by MemPhiS11, Jul 2, 2007.

  1. MemPhiS11

    MemPhiS11 Member

    Joined:
    Jul 2, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I need to access this i have full root access.. but i see no links to edit this nor a way of getting to it so if someone could tell me how i can access the files /usr/ and /etc/Apache2 please respond thanks
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    SSH to Port 22 as root and you should be able to execute commands to edit whatever files you need to edit on the system.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The httpd.conf file is usually in /usr/local/apache/conf/httpd.conf rather than in /etc/Apache2 on a cPanel system.
     
  4. expedio

    expedio Active Member

    Joined:
    Jun 30, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    You can try /etc/httpd/conf/httpd.conf
     
  5. MemPhiS11

    MemPhiS11 Member

    Joined:
    Jul 2, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    httpd.conf

    is there a way of accessing httpd.conf without using SSH like you do in say public_html...?
     
  6. MemPhiS11

    MemPhiS11 Member

    Joined:
    Jul 2, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    none

    also if SSH is the only way.. How would i block the directory cgi-sys/scgiwrap as currently on all of my sites it gives details out that i would much rather not be seen by general public..

    i was hoping that it would be simply creating a .htaccess and denying that way but i was told i could deny it in the httpd.conf
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page