LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Apache webserver (http://www.linuxquestions.org/questions/linux-networking-3/apache-webserver-52507/)

trusouthrnplaya 03-30-2003 11:26 AM

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?

Crashed_Again 03-30-2003 11:34 AM

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.


All times are GMT -5. The time now is 01:53 AM.