HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(Unknown Source) com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.doFilter(VirtualHostFilter.java:174) com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:154) com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:94) org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.27 logs. Apache Tomcat/5.5.27