Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

(OT) How to find Apache Path or Apache Error Path

by rose (Beadle)
on Jul 06, 2006 at 12:19 UTC ( [id://559551]=perlquestion: print w/replies, xml ) Need Help??

rose has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

Can you please tell me that How to find the Apache Path or Apache Error Log which we have installed in my linux machine.

Thanks,
Rose

  • Comment on (OT) How to find Apache Path or Apache Error Path

Replies are listed 'Best First'.
Re: (OT) How to find Apache Path or Apache Error Path
by philcrow (Priest) on Jul 06, 2006 at 12:49 UTC
    Look for apachectl (use which) its directory should have all of the apache binaries. Then look for httpd.conf. It will have all the other paths in it (usually), including the error log path, the document root, etc.

    Phil

Re: (OT) How to find Apache Path or Apache Error Path
by ides (Deacon) on Jul 06, 2006 at 14:31 UTC

    The usual places that linux distributions put Apache is typically:

    • /etc/httpd/
    • /usr/local/apache
    • /etc/apache
    • /etc/apache2

    I bet you find it in one of those...

    Frank Wiles <frank@revsys.com>
    www.revsys.com

Re: (OT) How to find Apache Path or Apache Error Path
by Solo (Deacon) on Jul 06, 2006 at 15:04 UTC

    ps -ef | grep httpd

    on my SuSe box shows the path to the running binary and the config used.

    --Solo

    --
    You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
Re: (OT) How to find Apache Path or Apache Error Path
by Moron (Curate) on Jul 06, 2006 at 12:56 UTC
    I am not at home right now, where my linux machine is, but as I recall, everything starts with httpd, so find / -name 'httpd.*' should be revealing.

    Update: /etc/apache should contain httpd.conf which configures all paths.

    -M

    Free your mind

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://559551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2024-04-23 19:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found