Last change
on this file since 1164 was
910,
checked in by sven, 8 years ago
|
Fehlermeldungen für Fehlerseiten hinzugefügt.
|
File size:
821 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /** |
---|
3 | * t29v6 403er Entry Point |
---|
4 | * |
---|
5 | * Will be called as ErrorDocument 404 which also catches old |
---|
6 | * file.shtml? URLs as well as old URLs which should be remapped |
---|
7 | * to new ones. |
---|
8 | * |
---|
9 | **/ |
---|
10 | |
---|
11 | // standard arguments |
---|
12 | $seiten_id = '403'; |
---|
13 | $version = '$Id$'; |
---|
14 | $titel = "403 Forbidden"; |
---|
15 | $dynamischer_inhalt = true; |
---|
16 | |
---|
17 | $lib = dirname(__FILE__); |
---|
18 | require "$lib/technikum29.php"; |
---|
19 | |
---|
20 | $wanted_page = $_SERVER['REQUEST_URI']; |
---|
21 | |
---|
22 | require_once "$lib/client.php"; |
---|
23 | if(t29Client::getLanguage() == "de") { |
---|
24 | ?> |
---|
25 | <h2>403 Zugriff verboten</h2> |
---|
26 | <address><?=$wanted_page; ?></address> |
---|
27 | <p>Der Zugriff auf diese Ressource ist nicht gestattet.</p> |
---|
28 | <?php |
---|
29 | } else { // language |
---|
30 | ?> |
---|
31 | <h2>403 Forbidden</h2> |
---|
32 | <address><?=$wanted_page; ?></address> |
---|
33 | <p>You are not authorized to view the requested resource.</p> |
---|
34 | <?php |
---|
35 | } // language |
---|
Note: See
TracBrowser
for help on using the repository browser.