Bug 67237
| Summary: | httpd does not read correct httpd.conf file | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Joseph Tate <jtate> |
| Component: | apache | Assignee: | Nalin Dahyabhai <nalin> |
| Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | ||
| 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: | 2002-06-21 14:28:31 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: | |||
|
Description
Joseph Tate
2002-06-21 13:58:00 UTC
Ok, some new information: ServerRoot is set to /opt/d2/web instead of /etc/httpd. /etc/httpd/conf/httpd.conf is read once, ServerRoot is set, then httpd.conf is read again, but not as httpd-web.conf. Since the ServerRoot has changed it looks for conf/httpd.conf within the ServerRoot. httpd.conf shouldn't need to be read again, and if it is, it needs to read the same file as originally read, not some hard coded file. This is because the config file is hard-coded as a path name relative to the server root. If you want use a server-root other than the default, then pass an option like "-d /opt/d2/web" argument when running httpd. (You'll have to do that by modifying /etc/init.d/httpd because of bug 60281, though) |