Bug 89947
Summary: | redhat-config-httpd saves errors in httpd.conf file | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Eric B <joker> |
Component: | redhat-config-httpd | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | hmorf, rvokal, s354199 |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i586 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-09-01 15:21:56 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
Eric B
2003-04-30 06:23:18 UTC
Updates to initial bug report. 1) There is no NameVirtualHost directive This is not a bug, but related to the confusion on item #5 see below 2) There is no place to specify values for NameVirtualHost directive This is not a bug, but related to the confusion on item #5 see below 3) Duplicate entries are set for TransferLog when specified This still happens. It's in my config, not sure if it affects anything. Server still runs. 4) In directory options, the word 'from' appears twice. eg. 'Allow from from all' This still happens. It's in my config, not sure if it affects anything. eg. Allow from from all Server still starts and runs. 5) The 'Directory Page Search List' is not transferred to the DirectoryIndex directive. This item #5 is probably the root cause of the problems I have had. Site default values are not stored in http.conf file. To reproduce a) In KDE select Menu->System_Settings->Server-Settings->HTTP_Server b) Select 'Virtual Host' Tab c) Select Add to add a virtual host d) Select 'Name based Virtual host' e) Complete fields Virtual_Host_Name, Document_root, Webmaster_Email, IP_Address, Server_Host_Name with valid information. f) Select 'Site_Configuration' from list on left. f.1) Note Directory Search Page List contains index.html, index.htm, index.shtml f.2) Do not modify, and select OK to close window. g) Select OK to close Apache Configuration and save. h) Check http.conf file, note that DirectoryIndex directive does not exist in <VirtualHost> i) Repeat steps a-g, except on step f.2 add test.html to Directory Page Search List J) Check http.conf file, note presence of DirectoryIndex directive that contains all the values from the configuration program. I observe the same kind of errors on redhat 8.0 As a matter of fact I cannot configure Apache with the redhat-httpd- configuration tool. :-(( Strangely, I also observe that I have to enter more and more "page down" strokes till I arrive at lines with text, when I am looking at httpd.config with "cat filename ¦ less" I can reproduce the problem on latest Fedora Core tree and have found the root of the problem. I'm currently working on a fix which i hope to get in in the next version. Read ya, Phil *** Bug 97081 has been marked as a duplicate of this bug. *** OK, fix is ready. Unfortunately it's not perfect, but it's the best i can do: If you have an "old" configuration and edit the Virtualhost where the DirectoryIndex was listed the list is now empty. Just add the 3 entries maunally and you're set. For new Virtualhosts everything is fine now, it will directly contain the 3 default values. The reason for the first "problem" is that one could (with the new version) remove all DirectoryIndex entries on purpose (so that either a directory listing would be displayed or a forbidden message, depending on wether directory listings are activated or now) and i can't tell wether it's intentional or because of the old config file (which did display the default values but never stored them). A new version should go out sometime in the next few days via Fedore Core development. Read ya, Phil |