vps how to edit Apache files

Discussion in 'Apache' started by mutley, Oct 4, 2008.

  1. #1
    i am new to having my own vps i need to edit my Apache files on my server so i can turn on mod_write but i can seem to find the files i am running lxadmin

    anyone now i can get to the Apache files so i can edit them ?


    thank you for your help
     
    mutley, Oct 4, 2008 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    U Have root access rite.

    I u doo its here /etc/httpd/conf/httpd.conf
     
    Bohra, Oct 4, 2008 IP
  3. mutley

    mutley Peon

    Messages:
    356
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes i have root do i do it via ssh eg a program like putty ?


    thank you for your help
     
    mutley, Oct 4, 2008 IP
  4. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, PuTTY will allow you to SSH to your server.
     
    jliu, Oct 4, 2008 IP
  5. mutley

    mutley Peon

    Messages:
    356
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ok i did this northing happen it said could not find file ?


     
    mutley, Oct 4, 2008 IP
  6. jliu

    jliu Peon

    Messages:
    235
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It's usually located at /etc/httpd/conf/httpd.conf but could be somewhere else like /usr/local/etc/apache/httpd.conf for example.

    To find the location of your httpd.conf, execute the following command: find / -name httpd.conf
     
    jliu, Oct 4, 2008 IP
  7. mutley

    mutley Peon

    Messages:
    356
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i just found out that i am using Light-httpd and not apache so i am getting it change


    i get back to you :D
     
    mutley, Oct 4, 2008 IP