Liang,
Liang-Hui.Yang_at_Sun.COM wrote On 03/14/07 01:09 PM,:
> I have a quick question on app server 8.2, am hoping someone in the
> alias can help:
> how to set up a maintenace page in App Server 8.2 to redirect traffic
> for scheduled outages?
>
> Is there an equivalent to what the <vs> tag in Web Server to redirect
> URLs:
>
> I.e. in the web-apps.xml file in Web Server, one can add the following
> entry in between the <vs></vs> tags to redirect traffic from oldApp to
> newApp:
>
> <vs>
> <web-app uri="/developer/oldApp" dir="/sw/webapps/newAppRedirect"
> enable="true">
> <class-loader reload-interval="86400" />
> </web-app>
> </vs>
>
is this the same as the "redirect" NameTrans function, see
http://docs.sun.com/app/docs/doc/819-6511/6n8h6i9gb?a=view#indexterm-406
If so, we've ported support for it to 8.2 and beyond, and expose it as
one or more
"redirect_" properties at the virtual server level.
Jan
> Thanks,
> Liang
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>