• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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