Solved

Problems turning off welcome page and getting html directory content recognized

Posted on 2004-03-31
11
184 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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
 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

840 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