LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2003, 03:09 PM   #1
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Rep: Reputation: 30
Cant find apache index.html


Ever since I installed SuSE, whenever I open netscape it shows http://localhost/ in the address bar, and has a SuSE page with documentation about SuSE and Apache. Now that I am setting up my server, I would like to remove that page and put in my homepage. However: I cant find the file! I looked in the apache 'Document Root' dir mentioned in http.conf, but all it contained was those "If you can read this then that means apache has been installed correctly" pages. When I change the Document Root, I still get the same homepage. How can I replace this with my website?

Thank you,
LinuxBlackBox
 
Old 11-16-2003, 03:17 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
did you restart apache after changing your httpd.conf file?
 
Old 11-16-2003, 04:04 PM   #3
LinuxBlackBox
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Slackware 9
Posts: 243

Original Poster
Rep: Reputation: 30
Ahhh.. thank you. I restarted the whole computer and now it is working.

I cant believe I didnt think of that!

-LBB
 
Old 11-17-2003, 09:57 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by LinuxBlackBox
Ahhh.. thank you. I restarted the whole computer and now it is working.

I cant believe I didnt think of that!

-LBB
Just FYI, you don't need to restart the computer to restart services in Linux. You can actually just restart apache or any other service. That's the beauty of Linux, unlike some aspects or downfalls of Windows to having to restart just to get services going, etc.
 
Old 11-17-2003, 10:35 AM   #5
Hal
Member
 
Registered: Oct 2003
Location: East Anglia, England
Distribution: Dapper Drake / Slackware
Posts: 151

Rep: Reputation: 30
I had the very same problem...it was very painful to look at the localhost page and just not know where it is. I found "noindex.html" though, and replaced it, now it doesn't work. Heh. Oh well, I was meaning to learn how to uninstall RPMs anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[apache 2.0] can't get index.html to load fraggie Linux - Software 5 04-09-2005 05:55 AM
apache is skipping index.html spicychicken Linux - Software 1 02-15-2005 01:25 AM
Apache - Start with index.html muellerj Linux - Software 3 08-03-2004 10:01 AM
Apache won't default to index.html TexasDex Linux - Software 5 04-05-2004 08:33 AM
index.html renaming in Apache SSBN Linux - Networking 2 05-09-2003 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration