LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find out the APACHE_HOME (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-out-the-apache_home-746434/)

thomas2004ch 08-10-2009 08:31 AM

How to find out the APACHE_HOME
 
Hi,

An apache web server is installed on a LINUX. Now I wanto to find out where is the definition for APACHE_HOME. I try using following command from /root:

Code:

grep -r APACHE_HOME *
But nothing found.

Someone can help?

watcher69b 08-10-2009 09:04 AM

what do you mean appache home?

think it is usually /var/www/html
or the config directory is /etc/httpd/

thomas2004ch 08-10-2009 09:13 AM

Quote:

Originally Posted by watcher69b (Post 3637852)
what do you mean appache home?

think it is usually /var/www/html
or the config directory is /etc/httpd/

One has installed an Apacxhe Web Server on a LINUX system and has to define the env-param called APACHE_HOME such like by Windows.

I want to find out where is this env-param.

tredegar 08-10-2009 09:36 AM

Does this help?
Code:

echo $APACHE_HOME
export APACHE_HOME=/path/to/apache/home/
echo $APACHE_HOME



All times are GMT -5. The time now is 06:39 AM.