• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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