• 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.

vhost_ssl.conf in subdomain not included

F

FedericoS

Guest
I have Plesk 9.2.1 on Centos 5.2:

inside the conf folder of the subdomain I is the file that vhost.conf and vhost_ssl.conf, but in general file created httpd.include domain in both VirtualHost (both :80 that :443) is including the file vhost.conf .

Why?
 
Hi,

Try running the following command on:
/usr/local/psa/admin/sbin/websrvmng -v -a

It will re-create domains' apache configuration files (httpd.include ones) and reload apache to apply changes.
 
Hi,

I have already tried but in the both VirtualHost is included the file vhost.conf and the file vhost_ssl.conf is not considered ...
 
subdomain config file

Maybe this will help you ...

1.) edit the config-file of your subdomain: /srv/www/vhosts/<DOMAIN>.de/subdomains/svn/conf/vhost.conf
=> add this for example for SVN

############ SVN #################
<Location />
DAV svn
SVNPath /srv/repos/svn_<DOMAIN>
AuthType Basic
AuthName My Repository
AuthUserFile /srv/repos/svn_<DOMAIN>/passwdfile
Require valid-user
</Location>
#################################

2.) update PLESK-Webservermanager: /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<DOMAIN>.de
=> this will add your configuration to the MAIN-HTTP-INCLUDE-FILE of your MAINDOMAIN httpd.inlcude
for Port80 and Port 443 at the end of </VirtualHost> e.g. "INCLUDE /srv/www/vhosts/froggs.de/subdomains/svn/conf/vhost.conf"

3.) Restart you apache2: /etc/init.d/apache2 restart

... that's all ... ;o)
 
Hi,

tnks but I will also need vhost_ssl.conf, the problem is not for file vhost.conf but that in both virtual hosts :)80 and :443), at the time of regeneration httpd.include will be included in error the file vhost.conf

Regards

Federico
 
Needed so daemons don't clash

I also am running into this issue which is blocking us from being able to start daemons (using mod_wsgi) on both the SSL and non-SSL vhosts.

Dear plesk staff: PLEASE separate subdomain vhost.conf & vhost_ssl.conf files just like the main domain ones are!

Thanks,
Seth
 
I need it to

I need separate configuration to ssl and non-ssl subdomain too. Do you have a workaround to this issue?

Thanks,

Piero.
 
Back
Top