I have very little faith in the redhat-config-* tools based on past experience. I run virtual domains myself, using httpd (better known as 'Apache'), and manually edit httpd.conf after consulting the O'Reilly book on Apache and the Apache Software Foundation web site. Also I skim though the release notes.
But in general -- don't expect a redhat-config-* tool to work in every case, for every nuance of a situation. The tool will simply disappoint. You are better off working with your favorite text editor (such as emacs), the config file in question, and documentation on what to change in that file and how to restart the target server.
Hopefully in a few years the tools will be better tested, more sophisticated, and can be relied on.
Thanks
Robert L. Cochran
-----Original Message-----
From: Basil L. Copeland Jr. [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 11:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Apache Virtual Hosting Frustrations
I'm back. The following proved very helpful:
At 02:01 PM 10/6/2002 +0100, you wrote:
>A stab in the dark:
>
>#
># Disable autoindex for the root directory, and present a
># default Welcome page if no other index page is present.
>#
><LocationMatch "^/$>
> Options -Indexes
> ErrorDocument 403 /error/noindex.html
></LocationMatch>
>
>This section of configuration may explain your problem.
>If there is no index.html in your virtual-host, then an index won't be
>displayed, or a forbidden page: instead you receive
>"/error/noindex.html" which is the welcome you've got Apache set up
>page.
>I disabled this feature by removing the config- as it was more of
>annoyance than help.
By removing this I was able to see what was happening. But it leads
to some new questions. I was trying to use the RH apache configuration GUI
tool. Does anyone actually use this tool for serious work? It doesn't
seem to implement control over all apache directives. But if one manually
edits the httpd.conf file created by this tool, those edits are lost when
the tool is used. Not very nice. The above change, to remove the location
directive, is a case in point. Using the RH GUI tool puts it back.
The problem with my virtual hosts not loading was attributable to the
GUI tool not putting a DirectoryIndex directive in my virtual host
container. I think there is supposed to be a global default for this, but
it wasn't correctly specified in the RH modded httpd.conf. All in all, I
cannot say I am very impressed with the utility of the RH gui tool so
far. Too bad, since I'm just the kind of person this type of tool is
presumably designed for: a windows sysadmin looking to use linux on his
network.
One last question, should anybody know. There must be a "shadow"
copy of the httpd.conf maintained by the RH gui tool somewhere that is read
whenever the RH gui tool is loaded. Anybody know where/what it is? I'm
wondering if it wouldn't be possible to manually edit that one and have the
edits preserved?
-Basil
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list