Bug 87385 - missing ErrorDocument directive
missing ErrorDocument directive
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-httpd (Show other bugs)
noarch Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
Depends On:
  Show dependency treegraph
Reported: 2003-03-26 10:55 EST by Ronny Blomme
Modified: 2015-03-04 20:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-07-30 11:59:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ronny Blomme 2003-03-26 10:55:52 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827

Description of problem:
After editing the default "Site configuration" settings using the
redhat-config-httpd GUI,
some directives (e.g. ErrorDocument) are not generated in the
/etc/httpd/conf/httpd.conf file

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run redhat-config-httpd
2.go to tab "Virtual hosts"
3."Edit default settings"
4.in the "Site configuration" edit the "Error pages" settings for "Not Found"
and set it to e.g. URL /error/404.html.
5.Stop redhat-config-httpd (save and exit).   

Actual Results:  the directive
ErrorDocument 404 /error/404.html
is missing in /etc/httpd/conf/httpd.conf

Expected Results:  the /etc/httpd/conf/httpd.conf file must contain a directive
ErrorDocument 404 /error/404.html

Additional info:

If you do not "Edit default settings", but you "Edit" the "Default Virtual Host"
the same way, the generated httpd.conf file contains an ErrorDocument directive
in the <Virtualhost *> section. And that is OK.
Comment 1 Phil Knirsch 2004-07-30 11:59:54 EDT
Fixed in latest version.

Read ya, Phil

Note You need to log in before you can comment on or make changes to this bug.