Bug 63263 - New issue appeared after update, ServerName directive was not set
Summary: New issue appeared after update, ServerName directive was not set
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.4.6
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 22:59 UTC by Hossein
Modified: 2019-03-15 22:59 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2019-03-15 22:59:39 UTC
I was able to figure out a problem in my site which was using virtualhost.

I had my main domain in a virtualhost and `ServerName` attribute at root was commented out.
After update my main domain did not link to the same RootDocument as before.

After some trouble-shooting I thought the update may messed with the rules. Probably a new feature is active in v2.4.6 that looks for domain name associated with the running server and uses it as `ServerName`.

If I'm right. Then this issue may result issues for others too.

For those who have the same problem as me. Simply add ServerName at root with ipv4 address and port 80. To avoid auto-detection.