Sun GlassFish Web Space Server 10.0 Administration Guide

Virtual Hosts

Virtual Hosts is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.

Set the hosts that will be ignored for virtual hosts.


virtual.hosts.ignore.hosts=\
127.0.0.1,\
localhost

Set the paths that will be ignored for virtual hosts.


virtual.hosts.ignore.paths=\
/c,\
\
/c/portal/change_password,\
/c/portal/css_cached,\
/c/portal/extend_session,\
/c/portal/extend_session_confirm,\
/c/portal/javascript_cached,\
/c/portal/json_service,\
/c/portal/layout,\
/c/portal/login,\
/c/portal/logout,\
/c/portal/render_portlet,\
/c/portal/reverse_ajax,\
/c/portal/session_tree_js_click,\
/c/portal/status,\
/c/portal/update_layout,\
/c/portal/update_terms_of_use,\
/c/portal/upload_progress_poller,\
\
/c/layout_configuration/templates,\
/c/layout_management/update_page