Welcome, Guest
Please Login or Register.
Lost Password?
index.html not seen? (1 viewing)
Post Reply

TOPIC: index.html not seen?

#1243
PaulDuffield (User)
Posts: 35
graphgraph
index.html not seen? 2006/01/22 06:34  
I have now managed to upload the site(s) to the public_html folder but when I key in http://www.domain.com/ I just get the apache default confirmation page and not the correct index.html page for the web site itself.

if I add the full path to the domain http://www.domain.com/index.html it comes up fine but of course most surfers wont know that.

Am I missing something here? (Ans: clearly yes :-) ) or is there no easy way to ensure that default pages come up when just the domain is typed in?

This issue could extend of course to index.htm, default.htm etc depending on what users upload.

Any ideas (preferably without having to edit what to me are still fairly obscure Linux conf files.

Any tips appreciated.

Paul
  The administrator has disabled public write access.
#1246
GrahamWatts (User)
Posts: 23
graphgraph
Re: index.html not seen? 2006/01/23 04:27  
Hi Paul,

There maybe a complicated reason for this but could it be that the default apache home page is called index.htm and that is what the system finds first as it tries to locate a home page?

Try deleting the default page and see if that helps.

Graham
  The administrator has disabled public write access.
#1247
PaulDuffield (User)
Posts: 35
graphgraph
Re: index.html not seen? 2006/01/23 07:23  
Hi Graham,

Thanks for the reply. I have tried typing in the full url followed by various permutations of inded.htm .php etc and they just come up with blank pages. So I don't think that is it.

I am not sure where (in Virtualmin or indeed elsewhere in Unix) the preferences/config is set for which default page to look for first?

I will look later to see if I can find it in an http.conf file of something. Is there or should there be something for this for Vitualmin though?

Paul
  The administrator has disabled public write access.
#1250
GrahamWatts (User)
Posts: 23
graphgraph
Re: index.html not seen? 2006/01/23 08:40  
Hi Paul,

I fear I may have fed you a red herring with my last reply.

A quick google led me to this page which explains how apache finds the default page. It's probably worth a read.

http://www.linuxhomenetworking.com/linux-hn/apachebasic.htm

Graham
  The administrator has disabled public write access.
#1266
PaulDuffield (User)
Posts: 35
graphgraph
Re: index.html not seen? 2006/01/25 12:11  
Been to the site and manually tried to adjust the httpd.conf file now but still with no result.

The link had some interesting information on it but as far as I can establish the default settings should bring up the index.html page anyway but it apparently doesn't post Virtualmin install. Could it be that Virtualmin has adjusted something else conf file wise?

Any ideas still welcome as the apache holding page isn't getting me too many new clients atm :-(

Paul
  The administrator has disabled public write access.
#1269
Joe (Admin)
Posts: 4084
graph
Re: index.html not seen? 2006/01/25 13:18  
Hey Paul,

Looking at the log I have from your install, it appears some of the installation failed to happen--I'm looking into why.

But I suspect it dropped out of the post-install script before the httpd virtual setup happened. It's a one-line change in httpd.conf that makes virtual hosts work. It'll be corrected on your box shortly.
  The administrator has disabled public write access.
#1300
PaulDuffield (User)
Posts: 35
graphgraph
Re: index.html not seen? 2006/02/01 15:50  
You were of course spot on Joe both in observation and fix - the server has now been running quite happily for a few days and (big touchwood!) everything is really fine and stable.

A big public thank you too for your support which has been first class before, during and after the Virtualmin install.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.