Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-30-2003, 11:26 AM   #1
Registered: Jun 2001
Location: (Cashville) Nashville, TN
Distribution: CentOS 4.0, Slackware 10.2,
Posts: 223

Rep: Reputation: 30
Question Apache webserver

Hey, guys....
I loaded apache, php, and all that good stuff as a basic install off the disk. Apache is up and running; but I want to switch out the test page but I can't find the directory that the test page is sitting in.

I look in the /var/www/html and it only has 2 directories
mrtg and usage

any ideas where else this index page is at?
Old 03-30-2003, 11:34 AM   #2
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Create an index.html page in /var/www/html and make sure httpd.conf points to that directory in the "Document Directory" section of your httpd.conf:

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot "/var/www/html"

Of course you have to restart httpd for the changes to httpd.conf to take effect.


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 webserver name karupt Linux - Networking 2 08-01-2004 11:55 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
apache webserver nooodles Linux - Networking 8 06-30-2004 01:04 AM
How to configure apache webserver jagadish Linux - Networking 3 07-17-2003 11:01 AM
Apache webserver questions filsed Linux - Networking 4 03-01-2002 10:41 PM

All times are GMT -5. The time now is 08:57 PM.

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