Solved

Problems turning off welcome page and getting html directory content recognized

Posted on 2004-03-31
11
181 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

11 Experts available now in Live!

Get 1:1 Help Now