Bug 250910
| Summary: | Httpd Not Mapping to User Directories | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dustin <d_blagg> | ||||
| Component: | system-config-httpd | Assignee: | Phil Knirsch <pknirsch> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 9 | CC: | jorton, rvokal, triage | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-07-14 18:16:12 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: | |||||||
| Attachments: |
|
||||||
|
Description
Dustin
2007-08-05 02:28:18 UTC
Created attachment 160707 [details]
httpd.conf file used to configure server
What SELinux warnings do you get (audit.log)? I receive no SELinux warnings in the audit.log. Nothing shows in the setroubleshootd.log file either. The only entries found are the following httpd log files: access_log = XXX.XXX.XXX.XXX - - [11/Aug/2007:09:11:42 +1000] "GET /~user HTTP/1.1" 404 335 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5" error_log = [Sat Aug 11 09:11:42 2007] [error] [client XXX.XXX.XXX.XXX] File does not exist: /var/www/html/~user modsec_audit.log = --91f64860-A-- [11/Aug/2007:09:21:04 +1000] oPzHWX8AAAEAAALLF1cAAAAD XXX.XXX.XXX.XXX 45624 YYY.YYY.YYY.YYY 80 --91f64860-B-- GET /~user HTTP/1.1 Host: www.my-domain.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-au,en;q=0.7,en-us;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cache-Control: max-age=0 --91f64860-F-- HTTP/1.1 404 Not Found Content-Length: 335 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 --91f64860-H-- Apache-Error: [file "/builddir/build/BUILD/httpd-2.2.4/server/core.c"] [line 3633] [level 3] File does not exist: /var/www/html/~user Stopwatch: 1186788064151385 3531 (481 3046 -) Producer: ModSecurity v2.1.1 (Apache 2.x) Server: Apache/2.2.4 (Fedora) --91f64860-Z-- Found out what the problem is. In the directory /etc/httpd/conf.d, there was a file system-config-httpd.conf which had the UserDir directive set to "disable". This setting was overriding the values set in the httpd.conf file in /etc/httpd/conf/ directory. After changing the UserDir directive to public_html in the system-config-httpd.conf, apache is now doing what it should be. Maybe if this setting is either removed from the system-config-httpd.conf or the system-config-httpd applet allows the user to toggle/configure this setting in there this issue could be addressed. I agree, it seems like a recipe for confusion. This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists. Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs: http://docs.fedoraproject.org/release-notes/ The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Ran into this exact problem as well on a fresh install of Fedora 9. Initially ran system-config-httpd to try to configure the httpd server. However, there was no option to enable the UserDir feature with system-config-httpd, so I did what I thought was the obvious thing to do, and edited httpd.conf to try to enable UserDir. After beating my head against the wall for a long period, I found this helpful bug entry, and realized that system-config-httpd.conf was the problem. I would suggest that the UserDir configuration needs to go in one of these .conf files, not both. As it is right now, the feature needs to be enabled in both files for UserDir to work. This message is a reminder that Fedora 9 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 9. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '9'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 9's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 9 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |