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

vhost.conf & vhost_ssl.conf

Y

Ysean

Guest
How about someone from SWsoft posting a document regarding these files? I've found NO details anywhere online as to the commands or syntax of these files. I'm trying to modify the vhost php settings and I keep getting errors of this type:

/etc/init.d/httpd gracefulSyntax error on line 7 of /home/httpd/vhosts/orders.shawhosting.com/conf/vhost_ssl.conf:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

I'm getting rather annoyed. I'm totally shocked I haven't been able to find any documentation on these files. :(
 
Post what your trying to accomplish and maybe someone can help you in the meantime?

I'd like to see the same documentation.
 
Here's the content of the file....

After trying different things to get it working on my own here's the current status...

/etc/init.d/httpd graceful
Syntax error on line 5 of /home/httpd/vhosts/orders.shawhosting.com/conf/vhost_ssl.conf:
php_admin_value takes two arguments, PHP Value Modifier (Admin)


vhost_ssl.conf
<Directory /home/httpd/vhosts/orders.shawhosting.com/httpsdocs>
php_admin_flag register_globals On
php_admin_flag session.use_only_cookies Off
php_admin_flag register_argc_argv On
php_admin_value open_basedir = none
php_admin_flag short_open_tag On
php_admin_flag safe_mode Off
php_admin_value error_reporting = 2039
php_admin_value memory_limit = 32M
</Directory>
 
welp support helped

It appears "=" is not an allowed character in the files.
 
These files don't differ in any way from what you would put into httpd.conf - they are just "include" files that you can edit without Plesk overwriting them.

So anything you could put in your httpd.conf apache file, you can put here. Same syntax applies.

Apache reads httpd.conf which Plesk adds "Include httpd.include" to

httpd.include then lists all your domains which has "Include domain/conf/httpd.include" in it

Then if you create vhost.conf files and run websrvmsg -a -v, and it finds them, Plesk adds "Include vhost.conf" to the domain's httpd.include file.

This way Apache reads down the chain and finds all the commands to use.

Originally posted by Ysean
How about someone from SWsoft posting a document regarding these files? I've found NO details anywhere online as to the commands or syntax of these files. I'm trying to modify the vhost php settings and I keep getting errors of this type:

/etc/init.d/httpd gracefulSyntax error on line 7 of /home/httpd/vhosts/orders.shawhosting.com/conf/vhost_ssl.conf:
php_admin_value takes two arguments, PHP Value Modifier (Admin)

I'm getting rather annoyed. I'm totally shocked I haven't been able to find any documentation on these files. :(
 
Back
Top