Jump to content

Recommended Posts

Hi

My Server is setup using apache , jboss and mod_jk to rewrite requests from apache to jboss.

 

The JkMount directives look like this:

 

JkMount myapp/* myworker

 

The apps on Jboss have the welcome files set so that the correct page is loaded on a request

 

i.e

 

http://jboss-server/myapp  will load the index page I have set in my web.xml

 

from apache however

 

http://apache-server/myapp will give a 404 error

 

it requires the trailing "/"

 

http://apache-server/myapp/

 

I tried setting directory index for myapp in it <location myapp/> but that doesnt work

 

How do I make a request http://apache-server/myapp to load to the jboss server without a redirect?

 

 

Link to comment
https://forums.phpfreaks.com/topic/137167-apache-directoryindex-mod_jk/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.