Caucho Forums  

This forum is permanently closed because of spam. For free community support, please visit Google Groups:


Go Back   Caucho Forums > Resin

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2013, 03:14 AM
liuli liuli is offline
Junior Member
 
Join Date: Nov 2013
Posts: 1
Default How to accept multiple url path for a single web-app

What we want to do is to config one web-app, and accept two paths.

/pathA
\__ web-app-AB
/
/pathB

Tried to use url-regexp like:

<web-app url-regexp='(/pathA|/pathB)'
root-directory='/root/app.jar'
</web-app>
Got 404 for one of the paths if another is accessed first.

Url rewrite is not acceptable because app needs to know the different paths in its processing.

Thank you!
Reply With Quote
Reply

Tags
resin;web-app;

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:31 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.