| Author |
subdomain in glassfish
|
Pradyut Bhattacharya
Ranch Hand
Joined: Aug 12, 2004
Posts: 63
|
|
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
|
Pradyut
http://pradyut.tk/
|
 |
Lee Mark
Ranch Hand
Joined: Mar 05, 2009
Posts: 46
|
|
hey if you got the solution please post it..
i am having similar issue..
|
 |
Pradyut Bhattacharya
Ranch Hand
Joined: Aug 12, 2004
Posts: 63
|
|
no solution with admin console...
by using a filter and coding in that filter
request.getUrl and then parsing the url and redirecting appropriatly...
Cheers...
Pradyut
|
 |
Lee Mark
Ranch Hand
Joined: Mar 05, 2009
Posts: 46
|
|
yeah i have ended up like that only..
further in my architecture i have used prettyfaces
Thanks for answer.
|
 |
 |
|
|
subject: subdomain in glassfish
|
|
|