Bug 26929
| Summary: | virtual host config doesn't work as expected | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Jeremy Katz <katzj> |
| Component: | apacheconf | Assignee: | Phil Knirsch <pknirsch> |
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | pknirsch, rvokal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-02-13 14:24:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
This defect is considered MUST-FIX for Florence Gold release Fixed and included suggested default values as well. |
apacheconf-0.63-1. Creation of virtual hosts seems to not take the "Default Virtual Host" into account as the actual default if you define more than one virtual host. This is due to invalid setup of the VirtualHost section in /etc/httpd/conf/httpd.conf. Relevant part of httpd.conf (with blank lines removed) # Virtual host Default Virtual Host <VirtualHost > ServerName _default_ DirectoryIndex index.php index.html index.htm index.shtml ServerSignature email LogLevel warn HostNameLookups off </VirtualHost> This should be <VirtualHost _default_:*> iirc.