| |
@@ -58,7 +58,7 @@
|
| |
|
| |
Httpd always sets a "default" server which is used to answer requests for which no web server configuration is found. Typically, this happens when the IP address is used instead of a name or there is still an old DNS entry. To do this, it sorts the names of the configuration files alphabetically and sets the first server in the first configuration file as default. If only one server is configured, it is always the default.
|
| |
|
| |
- At the same time a default server is also preconfigured in the configuration file of the ssl module (/etc/httpd/conf.d/ssl.conf at or near line 56: <VirtualHost _default_:443>). This default server uses self-generated certificates. These conflict with certificates from the server whose configuration file comes first alphabetically. If one lists the configuration of the httpd server, one typically finds:
|
| |
+ At the same time a default server is also preconfigured in the configuration file of the ssl module (`/etc/httpd/conf.d/ssl.conf` at or near line 56: `<VirtualHost _default_:443>`). This default server uses self-generated certificates. These conflict with certificates from the server whose configuration file comes first alphabetically. If one lists the configuration of the httpd server, one typically finds:
|
| |
|
| |
[source,text]
|
| |
----
|
| |
@@ -79,7 +79,7 @@
|
| |
|
| |
==== The solution
|
| |
|
| |
- As a workaround, configure a fake server that is never used but is just a decoy for httpd to associate with the default server configured in /etc/httpd/conf.d/ssl.conf. Create as root or use sudo:
|
| |
+ As a workaround, configure a fake server that is never used but is just a decoy for httpd to associate with the default server configured in `/etc/httpd/conf.d/ssl.conf`. Create as root or use sudo:
|
| |
|
| |
[source,text]
|
| |
----
|
| |
Wrap filenames and inline content in backticks to ensure they are
rendered exactly as typed. This prevents the string
_default_
frombeing shown in italics, losing the leading and trailing underscore.