Solved

apache process to find httpd

Posted on 2011-03-21
1
363 Views
Last Modified: 2012-05-11
Hi Folks,

I have apache running in my testing env. iam trying to figure out which httpd.conf is responsible for apache. so i did
/usr/ucb/ps auxww | grep httpd
minous 6674  0.0  0.0 7528 4216 ?        S   Mar 19  0:07 /apps/tigger/tigger-v1.6.0/bin/httpd.2.0.59-solaris/bin/httpd -f /apps/tigger/tigger-v1.6.0/minous/deployment/apache/conf/httpd.conf -E /apps/tigger/tigger-v1.6.0/minous/deployment/apache/logs/stderr.log -k start -DtiggerProcess=apache

does this mean:
1) httpd.conf file is located at /apps/tigger/tigger-v1.6.0/minous/deployment/apache/conf/httpd.conf ?
2)httpd binary located at apps/tigger/tigger-v1.6.0/bin/httpd.2.0.59-solaris/bin/httpd ?
3) what "-k" means?
4)when i checked the above httpd.conf i found:
ServerRoot "/apps/aqueduct/tigger/tigger-v1.6.0/minous/deployment/apache"

Does this mean apache home is apps/aqueduct/tigger/tigger-v1.6.0/minous/deployment/apache ?
If yes,then why the ps out showing httpd location to different place? or serverroot directive doesnt matter?

Please help
Thank you,
Joe
0
Comment
Question by:jayatallen
1 Comment
 
LVL 12

Accepted Solution

by:
larsrohr earned 250 total points
ID: 35184157
1. Yes:  the -f filename indicates the configuration file.
2. Yes.
3. The "-k start" indicates the signal sent to httpd.

4. From a typical httpd.conf:
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.

DocumentRoot can be set to something else, and this is where the files are served out of.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now