change hosts file by apache

Discussion in 'Apache' started by mehdiyadollahi, Dec 24, 2010.

  1. #1
    hi,
    when i start or restart apache server hosts file was restore to the default value.
    what can i do for preventing this change?
     
    mehdiyadollahi, Dec 24, 2010 IP
  2. Mr.AD

    Mr.AD Member

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    41
    #2
    I never heard it before ! Are you sure Apache make hosts file changes ? Check it again. In other way, you can unset WRITE permision for hosts file.

    Hope this help ! :)
     
    Mr.AD, Dec 24, 2010 IP
  3. rohit09

    rohit09 Well-Known Member

    Messages:
    565
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Install Apache 2.0.3 and PHP Sus - It will be fix. Problem most happen on DA.
     
    rohit09, Dec 25, 2010 IP
  4. Sys Admin

    Sys Admin Well-Known Member

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    116
    #4
    - What is your OS & Control panel?

    - What do you mean by hosts file? Do you mean httpd.conf file?

    Thanks
     
    Sys Admin, Dec 26, 2010 IP