aspose file tools*
The moose likes Other Java Products and Servers and the fly likes subdomain in glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "subdomain in glassfish" Watch "subdomain in glassfish" New topic
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: subdomain in glassfish