Mantis - Resin
Viewing Issue Advanced Details
4837 minor always 11-04-11 15:27 06-13-12 15:00
alex  
ferg  
normal  
closed 4.0.23  
no change required  
none    
none  
0004837: Apache 404 for "GET /test/" on an app registered in resin.xml
Request to /test/ should return index.jsp.

- configure mod_caucho.so
- create a test app with index.jsp page in webapps
- register it in resin.xml
- make request to the apache for /test/ -> returns 404
requesting /test/index.jsp returns correct page.

resin.xml
 <host ..>
   <web-app id="/test/" root-directory="webapps/test"/>

related to 0004839closed ferg Apache: images, css files are not served when web-app is registered in resin.xml 

Notes
(0005840)
ferg   
06-13-12 15:00   
This is normal behavior.

If Apache is a reverse-proxy serving static content by putting the web-app in resin.xml (as opposed to webapps), then Apache needs to handle the welcome-file, which can be configured with IndexFile in the httpd.conf.

Apache would also need to be aware of the index.jsp files.