• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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