Solved

Problems turning off welcome page and getting html directory content recognized

Posted on 2004-03-31
11
182 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:grant-ellsworth
11 Comments
 
LVL 9

Expert Comment

by:Alf666
ID: 10731247
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.
0
 
LVL 1

Author Comment

by:grant-ellsworth
ID: 10732341
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?
0
 
LVL 2

Expert Comment

by:tcmv
ID: 10732945
Check here for a similar question ....

http://www.experts-exchange.com/Security/Linux_Security/Q_20935931.html


Hope that helps,
-tcmv
www.mvix.net
0
 
LVL 1

Author Comment

by:grant-ellsworth
ID: 10738246
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???
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10739135
Make sure  DocumentRoot in httd.conf is set to /var/www/html
0
 
LVL 1

Author Comment

by:grant-ellsworth
ID: 12723416
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.
0
 
LVL 1

Author Comment

by:grant-ellsworth
ID: 14563636
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.
0
 
LVL 1

Author Comment

by:grant-ellsworth
ID: 14565261
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.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 14597555
PAQed with points (350) refunded

DarthMod
Community Support Moderator
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now