On 5/2/23 05:31, Peter Boy wrote:


Am 02.05.2023 um 12:23 schrieb Patrick O'Callaghan <pocallag...@gmail.com>:

# httpd  -S
VirtualHost configuration:
*:80                   bree.org.uk (/etc/httpd/conf.d/bree.conf:1)
*:443                  is a NameVirtualHost
        default server bree.org.uk (/etc/httpd/conf.d/bree-le-ssl.conf:2)
        port 443 namevhost bree.org.uk (/etc/httpd/conf.d/bree-le-ssl.conf:2)
        port 443 namevhost bree.org.uk (/etc/httpd/conf.d/ssl.conf:56)
ServerRoot: "/etc/httpd"
Main DocumentRoot: "/var/www/html“

We often encounter issues with a configuration as you have.

The problem is:
Your bree.org.uk address acts as a default server following apache’s naming 
convention (it is the first file sorting the file names alphabetically). At the 
same time a default vname server is configured in the default ssl configuration 
file (/etc/httpd/conf.d/ssl.conf:56). We often encounter problems in such a 
situation, when 2 configurations are effective at the same time.

You may try either of the following

(a) define another named host with comes first in the alphabetical order...

Thank you Peter Boy.

After only 29 years I finally understand why there is an apache vhost defined by 000-default.conf.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to