Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My goal is to use mod_userdir to individually allow users to put java webapps in their user's public_html folder.

I have Apache, mod_userdir, and Tomcat installed and working.

I have mod_jk installed, but don't think it's working.

Right now, if I go to the url it takes me to the apache success page, if I go to [url]/~[username] it loads whatever is in the user's directory, and if I go to [url]:8080 it give's tomcat page, and will execute java.

Can someone outline the steps I need to take in order to get this working? Give likely pitfalls? Or offer alternative ideas that let me accomplish my goal?

share|improve this question
up vote 1 down vote accepted

mod_jk requires a minimal set of directives to signal Apache to send a request to a worker.

In particular, you should have a JkMount directive. This tells Apache requests that match the URL defined in to a particular worker configured at JkWorkersFile

I recommend the following for a simple example to get you started:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.