• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

httpd modification

M

mushu

Guest
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 :)
 
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---------
 
Back
Top