LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2004, 06:36 PM   #1
watts3000
Member
 
Registered: Jul 2004
Posts: 58

Rep: Reputation: 15
setting up default page in apache


I'm new to linux and I'm trying to set up apache web server. I'm using redhat 9.0 I would like to know how do I set up a default web page. Right now when I enter the ip of the apache server the default test page keeps coming up I'd like for that page to be replaced with my home page.
 
Old 09-25-2004, 07:01 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
I could be wrong, but I believe the default name of the home page needs to be index.html. Hope that helps.
good luck.
 
Old 09-25-2004, 07:56 PM   #3
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Check your httpd.conf file and look for your apache root directory. If you compiled and installed it by yourself it's usually /path/to/apache/htdocs/.
In this directory you will copy your files and delete the old ones that include the apache test page.

In httpd.conf look also for something like: DirectoryIndex index.html. If a directory is requested in a browser, apache will load this file. It can also be index.php or something else.

Boby

Boby
 
  


Reply



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 default page dienerk Linux - General 4 10-22-2004 01:02 PM
Setting the default page in apache Browndog Linux - Software 1 06-17-2004 03:10 AM
I cant change the default test page in apache server to add my page.y nhemapriya Linux - Newbie 3 05-13-2004 12:35 PM
setting default page size and default tray lived4eva Linux - General 1 11-04-2003 02:39 PM
Apache default page?? andy18 Linux - General 6 07-16-2003 02:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:44 PM.

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