Jump to content

Apache DirectoryIndex mod_jk


macchonmhaighe

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.