• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

apache supplemental config

B

bread_man

Guest
I'm sorry if this has been asked before. I did a few searches but couldn't find it.

I have some additional configuration for my virtual hosts (mod_rewrite, custom aliases, etc) that is overridden each time I make a change (subdomain add, vhost config change) in Plesk. The httpd.include says to put modifications in a vhost.conf file, but when I create one, it is ignored.

I'd still like to use Plesk. How do I create a supplemental conf file that will both add to and overwrite settings in the generated httpd.include?

Plesk 8.0.1

Looking forward to participating in this community.

Thanks!
bread
 
Nevermind, I'm a dork. The includes for the supplemental configurations are there in the generated httpd.include and work fine. I just couldn't find them initially.

Edit: The reason I didn't see the refernce to the supplemental vhost.conf files is because you need to create them first. When the httpd.include is regenerated, it adds in the reference to any vhost.conf files that exist at the time.
 
Back
Top