subdomain in glassfish
Posted
by Pradyut Bhattacharya
on Stack Overflow
See other posts from Stack Overflow
or by Pradyut Bhattacharya
Published on 2010-03-17T20:10:02Z
Indexed on
2010/03/17
20:11 UTC
Read the original article
Hit count: 312
glassfish
|glassfishv3
Hi
I want to set up a virtual server for subdomain
my domain is redirected from pradyut.dyndns.org
to pradyut.dyndns.org/WebApplicationSecurity
using a virtual server whose default web module is WebApplicationSecurity I have used the string "${com.sun.aas.hostName},pradyut.dyndns.org" in the hosts of the virtual server
now to the question if someone enters "newa.pradyut.dyndns.org" how can i redirect to
pradyut.dyndns.org/WebApplicationSecurity/newa
or "*.pradyut.dyndns.org"
redirects to "pradyut.dyndns.org/WebApplicationSecurity/*"
Thanks
Pradyut
© Stack Overflow or respective owner