Link to home
Start Free TrialLog in
Avatar of grant-ellsworth
grant-ellsworth

asked on

Problems turning off welcome page and getting html directory content recognized

On redhat linux enterprise version 3 / apache web server ...
I installed a file called "index.html" in /var/www/html.
I set up only one host / virtual host as a name-based host.
I edited the welcome.conf file to "comment out" all lines as instructed.
I restarted the apache server (service httpd restart)

I access the webpage with browser from other machine and same machine.
I see the Redhat default Welcome test page.

What do I do to get the Index.html to load in the browser when I put just "www.xxxxxxxx.com" (my webpage) in the URL?

Thx.    - Grant
Avatar of Alf666
Alf666

Are you sure you named your index.html page "index.html" (low case), and not index.htm or Index.html ?

Then, check the access rights on this page :

chmod 644 index.html

You can also completely delete the welcome.conf file. It's of no use anymore.
Avatar of grant-ellsworth

ASKER

Hello.  I did verify the name.  
I already deleted the welcome.conf - the apache default welcome still displayed!!!   Why??
I'll double check the chmod setting.

Further clues?
For TCMV ... Thanks for the link = interesting reading, but not related to my problem.   Looks like the Redhat configuration program guts the httpd.conf file - I need to hand edit???
Make sure  DocumentRoot in httd.conf is set to /var/www/html
solved problem - changesmade thru the GUI interface were not recorded correctly in the config file.  I edited the config file directly (httpd...) then the features worked.  Bug in Redhat LUnux ES

case closed.
Please note that the person filing the problem resolved the issue.  There is no way to flag the problem filer's comments as the solution - yet the solution is germane to the problem.  if you want to take my last message and paste it into one of your own, I'll be glad to "accept" your answer.  You get the points, the forum gets a solution to a vexing problem.  And I have a place to come back and search after I've forgotten how I solved the problem.
My concern is that normal cleanup would lead to deletion of the problem and resolution.  If the problem and resolution will emain in the database for future users, then I have no problems.
ASKER CERTIFIED SOLUTION
Avatar of DarthMod
DarthMod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial