load index.html when only ...com/dir is entered
I'm running Linux Red Hat 7.0 and progressing well in setting up a standalone server. I have been able to get to the /var/www/html/index.html by just typing 10.0.0.147 which is the ip of the box. I have made a new directory /var/www/html/test and placed a new index.html there. From my browswer I can get to it by entering 10.0.0.147/test/index.html, but I would like to get to it by simply entering 10.0.0.147/html/test. What do I need to do to make apache pick up the index.html file when only the directory is entered?
Also, can anybody advise me on the software I need in order to be able to remotely add new virtual web sites, kinda like the big hosting companies do?
Thanks in advance, Roy
|