Tim wrote:
> On 4 May 2005 09:41:30 -0700,
> john.j.hudak@comcast.net posted:
>
> > Perhaps someone can shed some light on what this problem is, or at
> > least a 'correct' way to get around the problem.
> > System configuration: Clean install of RH9, with ALL the options,
> > Apache 2.0.53. Pretty much running system 'as installed'. Modified
the
> > /usr/local/apache2/conf/httpd.conf to reflect server root
> > ("/usr/local/apache2"),
> > Listen on my ip.address:80, and document root (<Directory
> > "/usr/local/apache2/htdocs">).
>
> That's not where my installation of Apache is on Red Hat 9. My
Apache
> configuration files are in subdirectories in /etc/httpd/ and the
htdocs are
> in /var/www/html/. Though I'm using the Apache that installs with my
> distributions, I haven't installed it from source.
>
> > Shut system down (complete power down), rebooted, restarted
> > httpd...now, it starts displaying the Apache "Test Page"...which
tell
> > me: 'If you have upgraded from Red Hat Linux 6.2 and earlier, then
you
> > are seeing this page because the default DocumentRoot set in
> > /etc/httpd/conf/httpd.conf has changed.' Well, I didn't upgrade
from
> > RH 6.2...it was a clean install of RH9. So, I go to
/etc/httpd/conf/
> > and look at httpd.conf and sure enough, it has a different path for
> > htdocs (/etc/httpd/htdocs), and I verify that it is loading the
index
> > "test page" from this directory. It was not before the power down,
so
> > what happened? how to fix?
>
> Have you let Red Hat 9 update Apache itself? (Yum, up2date, etc.)
The only updates I have done were to RH9, after it was installed. I
then installed Apache, and did no updates to it...
>
> > The /etc/httpd/conf/httpd.conf file is read only, but it could be
> > changed to point to the intended htdocs (/usr/local/apache2/htdocs)
> > where I have my webpages...but, it seems that I should not have to.
>
> That's where mine is (the /etc one), on Red Hat 9.0 Linux and Fedora
Core
> 3. One solution might be to make a link from one location to the
other.
> So you only have one file, and installation updates might continue to
work
> in a coherent manner.
>
Thanks for the suggestion. I am sure that will work as long as RH9
and/or Apache are not updated....but a question I have is: What is the
correct (real) directory structure (e.g. the /usr/local/apache2/ or
/etc/httpd....)?
IIRC, when I built and installed Apache, I used the default directory
suggestions....
> --
> If you insist on e-mailing me, use the reply-to address (it's real
but
> temporary). But please reply to the group, like you're supposed to.
>
> This message was sent without a virus, please delete some files
yourself.