httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <wr...@rowe-clan.net>
Subject Re: [users@httpd] Ssl certificate ignored in virtual host
Date Thu, 18 Apr 2019 16:21:34 GMT
On Wed, Apr 17, 2019 at 4:08 PM Rose, John B <jbrose@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.

Mime
View raw message