Word of caution: I'm fairly new to Linux and completely new to Apache so please be patient.
Now, I just installed Apache 2 on RH9 as I am trying to test some web based application. After reading some of the documentation I still don't know what I am doing.
The default root directory in the httpd.conf is the ../htdocs so I created a sub folder in htdocs and copied some html docs there but I can access them via browser. I do get the default page telling me that the apache was installed and is up and running but that's about it.
There is also a /var/www folder so I tried to change the httpd.conf to have this as a root. Again, I created a subfolder with some html docs and again a could access them.
So my questions are: Where should I keep all my html docs, what is the preferred locations for them. And finally how should I configure the Apache server to run properly, some examples would be great.