When I needed something like this, I wrote a servlet filter. I wasn't using Apache, just Tomcat, so no mods. I also wanted everything in the same application, so virtual hosting was out. The servlet filter gets the HttpServletRequest.getHeader("host") and then redirects to a URL in my application (via a RequestDispatcher). Short and sweet.

Norman Franke
Answering Service for Directors, Inc.
www.myasd.com

On Mar 1, 2009, at 4:21 PM, Ulrich Stärk wrote:

I think you could do this with Apache and mod_jk in front of your tomcat server. You could forward requests going to the virtual host cs.your.domain.com to your.tomcat.host:port/some/path and requests to login.your.domain.com to your.tomcat.host:port/other/path

HTH,

Uli

manuel aldana schrieb:
yeah, but the requests should go to the same webapplication (port should always be 80), so I somehow need to configure this inside my one tapestry app.
Markus Lux schrieb:
Hi,

that wouldn't be relevant to tapestry. You should configure that in your webserver which forwards all your requests to the servlet container running your tapestry application. Different subdomains will lead to different entry
points in your application.



aldana wrote:

hi,

I want to structure app-areas by subdomain:

http://www.xxx.com/ (public area)
https://login.xxx.com/ (non-public area for customers)
https://cs.xxx.com/ (non-public internal area)

How is it possible to map these different entry points in one tapestry web-application?

--
manuel aldana
ald...@gmx.de
software-engineering blog: http://www.aldana-online.de


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



-----
manuel aldana
aldana((at))gmx.de
software-engineering blog: http://www.aldana-online.de






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to