I'm new to both Cloudlinux and to Plesk, but if I understand correctly - once CloudLinux is installed, there are no /var/www/vhosts/system/XXXXXX.COM/conf/vhost.conf files ? Is that the case or should there be a vhost.conf file for each web site? (I don't see any so this is why I'm asking, Plesk documentation mentions vhost.conf files)
I am also asking because hosting limits aren't the only things that can go in a vhost.conf file (other items can be php settings, rewrite settings), so I'm a bit confused about not finding any vhost.conf files.
I see through LVE Manager we can limit processes, memory, etc per site. But what about other settings that would normally go in an Apache config (httpd.conf or vhost.conf)?
Do you have any website created in Plesk? If so it's vhost should really be in /var/www/vhosts/system/DOMAIN.COM/conf/httpd.conf (not vhost.conf but httpd.conf, on plesk 12).
The hostinglimits_module should not be included in every vhost file, it is alive in global /etc/httpd/conf.d/modhostinglimits.confand actually is included only once, you may check if it's loaded using following command:
# httpd -M | grep hosti
About limits, they are actually all possible limits available in system - CPU/memory/process number/entryprocesses/ . Other limits are done by Plesk , like quotas number of websites/ftp users, mysql databases etc.
Thank you, so yes - there is a httpd.conf file at /var/www/vhosts/system/DOMAIN.COM/conf/httpd.conf, however the very first lines of this file state that this file is auto-generated and not to make changes to it:
#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:
(and there are settings after these commented lines like for Virtual Host IP, Server Name, Document Root, etc... it's a populated config file)
However when I look for /var/www/vhosts/system/DOMAIN.COM/conf/vhost.conf - this vhost.conf file doesn't exist, here is the directory structure:
So this is why I'm a bit lost here (httpd.conf file tells me to modify a file that doesn't exist). If we had to make some custom changes, i don't know if I should manually create this vhost.conf file, and if so should it be a 100% copy of httpd.conf (with changes)? Or only contain the modified "sections"?
Well, that\'s really strange. I am not Plesk guru however really looks like they are missing some \'Include\' directive for vhost.conf file there (I\'ve just checked our test plesk server). And did not found answer to this in google. Could you please ask parallels(odin) support about it? And... I would really like to know their reply.