• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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