Wed, 13 May 2020 21:46:26 +0200
fixes error pages and adds referer link to error page if it comes from the application
1
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | <?xml version="1.0" encoding="UTF-8"?> |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"> |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | <session-config> |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | <session-timeout> |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | 30 |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | </session-timeout> |
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | </session-config> |
13
f4608ad6c947
adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents:
6
diff
changeset
|
8 | <context-param> |
f4608ad6c947
adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents:
6
diff
changeset
|
9 | <param-name>available-languages</param-name> |
f4608ad6c947
adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents:
6
diff
changeset
|
10 | <param-value>en,de</param-value> |
f4608ad6c947
adds dynamic fragments to LightPIT request handling framework + basic language recognition code
Mike Becker <universe@uap-core.de>
parents:
6
diff
changeset
|
11 | </context-param> |
18
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
12 | <error-page> |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
13 | <error-code>404</error-code> |
45
cc7f082c5ef3
simplifies menu generation, adds submenus and removes VersionsModule (versions will be part of the ProjectsModule)
Mike Becker <universe@uap-core.de>
parents:
29
diff
changeset
|
14 | <location>/error/404.html</location> |
18
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
15 | </error-page> |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
16 | <error-page> |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
17 | <error-code>403</error-code> |
45
cc7f082c5ef3
simplifies menu generation, adds submenus and removes VersionsModule (versions will be part of the ProjectsModule)
Mike Becker <universe@uap-core.de>
parents:
29
diff
changeset
|
18 | <location>/error/403.html</location> |
18
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
19 | </error-page> |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
20 | <error-page> |
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
21 | <error-code>500</error-code> |
45
cc7f082c5ef3
simplifies menu generation, adds submenus and removes VersionsModule (versions will be part of the ProjectsModule)
Mike Becker <universe@uap-core.de>
parents:
29
diff
changeset
|
22 | <location>/error/500.html</location> |
18
a94b172c3a93
user friendly error pages for codes 404, 403 and 500
Mike Becker <universe@uap-core.de>
parents:
13
diff
changeset
|
23 | </error-page> |
1
34241be7db73
adds HomeServerlet and Resource Bundle
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | </web-app> |