LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-10-2009, 08:31 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Rep: Reputation: 33
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?
 
Old 08-10-2009, 09:04 AM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
what do you mean appache home?

think it is usually /var/www/html
or the config directory is /etc/httpd/
 
Old 08-10-2009, 09:13 AM   #3
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 539

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by watcher69b View Post
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.
 
Old 08-10-2009, 09:36 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Does this help?
Code:
echo $APACHE_HOME 
export APACHE_HOME=/path/to/apache/home/
echo $APACHE_HOME
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find with -exec argument - not giving proper output..how to find... hinetvenkat Linux - Server 4 01-25-2010 06:19 AM
Single find command to find multiple files? thok Linux - Newbie 7 01-31-2009 04:45 PM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
Is there a way to find recently created/edited files without using find? BrianK Linux - General 2 10-15-2007 09:41 PM
I cannot find what should be very easy to find... a distro with the Gnome desktop bluecog6 Linux - General 3 06-10-2007 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration