Afficher un message
Vieux 05/05/2005, 17h10   #2
Tim
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: What caused configuration change of loading http.config?

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 /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.

--
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.
  Réponse avec citation
 
Page generated in 0,05290 seconds with 9 queries