LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   What is the default folder where Apache is installed? (https://www.linuxquestions.org/questions/linux-networking-3/what-is-the-default-folder-where-apache-is-installed-137293/)

johann519 01-21-2004 08:21 PM

What is the default folder where Apache is installed?
 
I am a huge noob when it comes to linux so any help would be appreciated. In apache 2.0, where is the default folder where it is installed? AND, my friend who runs debian says you just put it in the htdocs folder. I am running Red Hat 9, is there an htdocs folder? If there isn't, where is the "test page" stored so I can replace it with my own page? Thanx!!! :D

charon79m 01-21-2004 08:26 PM

Mysery Location
 
The place you are looking for should be:

/var/www/html/

or

/var/www/

Those are the DEFAULT locations; however, you can set the location to anything your heart desires by editing your httpd.conf file.

Hope this helps!

MrKnisely

johann519 01-21-2004 10:54 PM

You wouldn't happen to know what part of the httpd.conf file you need to edit would you?

Torm3nt 01-22-2004 05:08 PM

johann, it depends on the distribution or package you've installed. These options are available both via the rpm install, or if you're compiling from source. Try:

locate httpd.conf

it should come up with at least one location. If nothing, type "updatedb" without quotes, then "locate httpd.conf"

but, for most default installs for apache 2.0 (i'll assume that's what you're using), its either:

/usr/local/apache2/conf/httpd.conf
or /usr/apache2/conf/httpd.conf


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