1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

httpd modification

Discussion in 'Plesk for Linux - 8.x and Older' started by mushu, May 18, 2005.

  1. mushu

    mushu Guest

    0
     
    hello,
    I have do some modification on httpd.include of one of my user and for the httpd.conf too , during several minutes all modifications running with succes and now the files are return original.

    how do I for the files doesn't return originally ?

    thank you very much :)
     
  2. Cranky

    Cranky Guest

    0
     
  3. editor

    editor Guest

    0
     
    Yes, this is normal. You catched only the cached version.

    custom configs should only be done with a

    vhost.conf

    which is placed in

    /home/httpd/vhosts/yourdomainname.tld/conf/vhost.conf

    I suggest, that before you will change anything, you should first
    try it with your home-mirror of your Plesk-Server.

    Apache/2.0.51 (Fedora)
    http://httpd.apache.org/docs-2.0/vhosts/

    see also:

    -rw-r--r-- 1 root root 3192 May 7 10:31 httpd.include
    -rw-r--r-- 1 root root 2181 May 5 12:29 httpd.include.bak
    [root@me conf]# vi -R httpd.include

    ----------cut---httpd.include---------
    # ATTENTION!
    # DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
    # FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
    # MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
    # FOLLOWING FILE(S):
    # /home/httpd/vhosts/yourdomain.tld/conf/vhost.conf
    # /home/httpd/vhosts/yourdomain.tld/subdomains/<subdomain-name>/conf/vhost.conf
    ..
    .
    .
    ----------cut---httpd.include---------
     
  4. editor

    editor Guest

    0
     
Loading...