Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where oh where can the Apache home directory be?

 
Anomander Rake
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working with a server on which the web host installed Apache. Said web host has a tech support department that seems to know less about a lot of stuff than I do, and I'm an absolute and total newbie.

Anyway, I am trying to get Tomcat 4.0.X to work with Apache 2.0 under Linux in order to handle servlets. One of the things you have to do is put the right mod_jk.so file in the $APACHE_HOME/libexec directory. $APACHE_HOME refers, of course, to the name of the home directory for Apache. Now, how do I find out which of my many directories is the Apache home directory? I looked for directories named "libexec" and found two, one under /user, the other under /user/local. I looked in the httpd.conf file and found a statement saying "ServerRoot "/etc/httpd"" that's supposed to be "top of the directory tree under which the server's
# configuration, error, and log files are kept." I also found numerous directoreis and files here with "Apache" in the name.

Which, if any, is the Apache home directory?
 
Annie Smith
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
List the environment variables. There should be one called APACHE_HOME
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic