mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
redirect to overview page
This commit is contained in:
@@ -31,22 +31,42 @@
|
|||||||
|
|
||||||
|
|
||||||
-->
|
-->
|
||||||
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
<web-app version="2.5"
|
||||||
|
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
||||||
|
|
||||||
<listener>
|
<listener>
|
||||||
<listener-class>sonia.scm.plugin.BackendContextListener</listener-class>
|
<listener-class>sonia.scm.plugin.BackendContextListener</listener-class>
|
||||||
</listener>
|
</listener>
|
||||||
|
|
||||||
<filter>
|
<filter>
|
||||||
<filter-name>guiceFilter</filter-name>
|
<filter-name>guiceFilter</filter-name>
|
||||||
<filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
|
<filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
|
||||||
</filter>
|
</filter>
|
||||||
|
|
||||||
<filter-mapping>
|
<filter-mapping>
|
||||||
<filter-name>guiceFilter</filter-name>
|
<filter-name>guiceFilter</filter-name>
|
||||||
<url-pattern>/*</url-pattern>
|
<url-pattern>/*</url-pattern>
|
||||||
</filter-mapping>
|
</filter-mapping>
|
||||||
|
|
||||||
<welcome-file-list>
|
<welcome-file-list>
|
||||||
<welcome-file>index.html</welcome-file>
|
<welcome-file>redirect.html</welcome-file>
|
||||||
</welcome-file-list>
|
</welcome-file-list>
|
||||||
|
|
||||||
<session-config>
|
<session-config>
|
||||||
<session-timeout>30</session-timeout>
|
<session-timeout>30</session-timeout>
|
||||||
</session-config>
|
</session-config>
|
||||||
|
|
||||||
|
<security-constraint>
|
||||||
|
<display-name>Restrict XHTML Documents</display-name>
|
||||||
|
<web-resource-collection>
|
||||||
|
<web-resource-name>XHTML</web-resource-name>
|
||||||
|
<url-pattern>*.ftl</url-pattern>
|
||||||
|
</web-resource-collection>
|
||||||
|
<auth-constraint>
|
||||||
|
<role-name>none</role-name>
|
||||||
|
</auth-constraint>
|
||||||
|
</security-constraint>
|
||||||
|
|
||||||
</web-app>
|
</web-app>
|
||||||
|
|||||||
8
scm-plugin-backend/src/main/webapp/redirect.html
Normal file
8
scm-plugin-backend/src/main/webapp/redirect.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||||
|
<meta http-equiv="refresh" content="0;url=page/index.html">
|
||||||
|
</head>
|
||||||
|
<body></body>
|
||||||
|
</html>
|
||||||
@@ -44,7 +44,6 @@
|
|||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="${contextPath}template/js/html5.js"></script>
|
<script src="${contextPath}template/js/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<base href="${contextPath}" />
|
<base href="${contextPath}" />
|
||||||
</head>
|
</head>
|
||||||
<body class="home page page-id-8 page-template-default logged-in admin-bar layout-2cr">
|
<body class="home page page-id-8 page-template-default logged-in admin-bar layout-2cr">
|
||||||
|
|||||||
Reference in New Issue
Block a user