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.

Check that you have the index.html in the right place, right
permissions, etc.

If that doesn't solve your problem then post a VirtualHost section from
your httpd.conf and we'll see if there's something wrong.


Regards,
Adam.

On Sun, 2002-10-06 at 03:52, Basil L. Copeland Jr. wrote:
>      I installed psyche today on a computer used to host a school web 
> server running Apache.  I did a totally clean install, replacing RH 
> 7.3.  So I now have to recreate the virtual hosting.  It is driving me 
> crazy.  Apache/httpd is running, and localhost/127.0.0.1 displays the 
> ubiquitous Apache test page.  But that is all I get.  Even after setting up 
> a "Virtual Host 0" using the RH GUI tool, that's all I get--the Apache test 
> page, not the index.html that should be loading from the document root for 
> the virtual host.
> 
>     And then there is this mystery.  There is no index.html for the Apache 
> test web page in /var/www/html despite this being the default 
> DocumentRoot.  So where is this being loaded from?  A search of all 
> "index.html" files on the hard drive failed to locate it.
> 
>     Here, briefly, is how I am trying to set up "Virtual Host 0."  If I can 
> get this one working, I can get the other hosts running.  The document root is:
> 
> /var/www/html/rhdocs
> 
> And the servername is
> 
> rhdocs.078lab.net
> 
> Though I'm using the GUI tool, inspecting the httpd.conf file seems to show 
> the virtual host configuration is correct.
> 
>      When I try to access "rhdocs.078lab.net" remotely, I get the Apache 
> test page, not the index.html in /var/www/html/rhdocs.  Why is that?  And 
> why isn't this Apache test page in /var/www/html?
> 
>       Any help will be appreciated.
> 
-- 
NAME    :       Adam Allen.
EMAIL   :       [EMAIL PROTECTED]

COMMENT :       ~~~~ insert your favourite signature comment here ~~~~

PGP    
:       
:http://search.keyserver.net:11371/pks/lookup?op=vindex&search=adam%40dynamicinteraction.co.uk

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to