• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

missing file /var/www/vhosts/system/www.mydomain.com/conf/vhost.conf

AfterBit

New Pleskian
Hello,
i have a domain www.mydomain.com.
i would like to add some custom settings to file httpd.conf in :/var/www/vhosts/system/www.mydomain.com/conf
In this file there is a warning:

#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
#IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:
#/var/www/vhosts/system/www.mydomain.com/conf/vhost.conf
#/var/www/vhosts/system/www.mydomain.com/conf/vhost_ssl.conf

so..

1) there is no file vhost.conf in var/www/vhosts/system/www.mydomain.com/conf/ .. should i create it?

2) if i finally get the file vhost.conf,.. how can i add the following setting :

<IfModule mod_jk.c>
JkMount /www.mydomain.com ajp13
JkMount /www.mydomain.com/* ajp13
</IfModule>

and to be sure that this directive will be executed?

thanks!
 
The files you mention are controlled in Plesk...

Plesk > Subscription > domain.tld > Apache & Nginx Settings

Regards

Lloyd
 
Well you can add your...
Code:
<IfModule mod_jk.c>
JkMount /www.mydomain.com ajp13
JkMount /www.mydomain.com/* ajp13
</IfModule>


in the Additional Apache Directives sections along with any rewrite rules you need wrapped in <IfModule mod_rewrite.c> tags.

I hope that helps
Regards

Lloyd
 
Back
Top