Article View: dc.org.linux-users
Article #146Re: Document Root error
From: Tiny Human Ferret
Date: Sat, 16 Mar 2002 01:43
Date: Sat, 16 Mar 2002 01:43
50 lines
2609 bytes
2609 bytes
bill thefish wrote:
>
> I installed a new version of Linux and am now receiving an Apache Test Page
> when I try to go to my site.
>
> http://www.diotimadesign.com
>
> All the information behind the first page is accessable, as are all of the
> virtual domains.
>
> How can I get this first page to appear?
>
> Thanks.
Try reading the page that comes up. It tells you how to fix it, and where.
From that page:
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.
Any subdirectories which existed under /home/httpd
should now be moved to /var/www. Alternatively,
the contents of /var/www can be moved to /home/httpd,
and the configuration file can be
updated accordingly.
Or, if you're really just too lazy to Read The Fine Manual ("RTFM"),
cd /var
mv www www-old
ln -s /home/httpd /var/www
However, the proper approach is to read and edit the
/etc/httpd/conf/httpd.conf
If you're going to be running a webserver, you will assuredly need to become
familiar with it.
Ahem, excuse me, I just re-read your complaint.
It would appear that the new Apache install replaced your website's
index.html with the stock one. I hope you have a backup. Possibly you could
copy that backup to index.html which will replace that page.
--
Be kind to your neighbors, even though they be transgenic chimerae.
Whom thou'st vex'd waxeth wroth: Meow. <-----> http://earthops.net/klaatu/
Technical Details
Message-ID:
<3C92A344.44B6725E@earthops.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!vienna7.his.comReferences:
<u92odohttqdi6c@corp.supernews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11663c,546d33a117b00347 X-Google-Attributes: gid11663c,public X-Google-ArrivalTime: 2002-03-15 17:40:51 PST Message-ID: <3C92A344.44B6725E@earthops.net> Date: Sat, 16 Mar 2002 01:43:32 +0000 From: Tiny Human Ferret <ixnayamspay_klaatu@earthops.net> Organization: copyright 2002 all rights reserved -- non-UseNet transmission prohibited. X-Mailer: Mozilla 4.5 [en] (X11; U; Linux 2.0.38 i386) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: dc.org.linux-users Subject: Re: Document Root error References: <u92odohttqdi6c@corp.supernews.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 65.205.1.226 X-Trace: vienna7.his.com 1016242843 65.205.1.226 (15 Mar 2002 20:40:43 -0500) Lines: 50 X-Authenticated-User: tjh22isp Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!out.nntp.be!propagator-SanJose!in.nntp.be!vienna7.his.com