1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Where to edit httpd.conf ?

Discussion in 'Apache' started by fatabbot, Dec 30, 2006.

  1. #1
    Hello,


    I'm using a dedicated server with WHM and Cpanel...
    I need to make some modifications in httpd.conf, but i can't find a way to edit this... Is this file like .htaccess ? Or where is it located and how to edit it ?
     
    fatabbot, Dec 30, 2006 IP
  2. Pat Gael

    Pat Gael Banned

    Messages:
    1,331
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It is usually available following this path:

    
    /etc/httpd/conf/httpd.conf
    
    Code (markup):
    If not, find the path typing from the shell
    
    locate httpd.conf 
    
    Code (markup):
    You can use Pico via putty, or download WinSCP which is a graphical interface with editor included www.winscp.net
     
    Pat Gael, Dec 30, 2006 IP
  3. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #3
    /usr/local/apache/conf/httpd.conf
     
    krakjoe, Dec 30, 2006 IP
  4. fzx5v0

    fzx5v0 Guest

    Messages:
    188
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would recomend backing up the file first before editing as you could httpd service may not restart if you make a mistake
     
    fzx5v0, Dec 31, 2006 IP