You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Rose, John B" <jb...@utk.edu> on 2019/04/17 21:08:07 UTC

[users@httpd] Ssl certificate ignored in virtual host

Why would ssl.conf certificate settings override the certificate settings in a specific virtual host config file?

Sent from my iPad
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Ssl certificate ignored in virtual host

Posted by William A Rowe Jr <wr...@rowe-clan.net>.
On Wed, Apr 17, 2019 at 4:08 PM Rose, John B <jb...@utk.edu> wrote:

> Why would ssl.conf certificate settings override the certificate settings
> in a specific virtual host config file?
>

The concept is inheritance. Picture all the #include'ed .conf files
flattened at the global scope, unless you actually do an include within a
specific <scope>.

Basically, what you set outside of all the specific <virtualhost > blocks
applies globally to all hosts, unless you override them. There are quirky
cases like rewrite and some of ssl which don't auto-inherit the globals,
but for the most part, what gets set outside of <blocks > apply to all
situations that aren't explicitly overridden.