ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
rootindex.php
Go to the documentation of this file.
1
<?php
2
19
// BEGIN WebDAV
20
// This page is required to support Microsoft WebDAV clients with ILIAS.
21
// Note: Put this page at the root of the website and rename it to index.php.
22
// We MUST block WebDAV requests on the root page of the Web-Server
23
// in order to make the "Microsoft WebDAV MiniRedir" client work with ILIAS.
24
// If we don't do this, the client will display a non-working login-dialog.
25
if
(
$_SERVER
[
'REQUEST_METHOD'
] ==
'PROPFIND'
26
||
$_SERVER
[
'REQUEST_METHOD'
] ==
'OPTIONS'
) {
27
// Block WebDAV Requests from "Microsoft WebDAV MiniRedir" client.
28
$status =
'404 Not Found'
;
29
header
(
"HTTP/1.1 $status"
);
30
header
(
"X-WebDAV-Status: $status"
,
true
);
31
exit
;
32
}
else
{
33
// Redirect browser to the ILIAS Start page
34
header
(
"Location: /ilias/index.php"
);
35
exit
;
36
}
37
// END WebDAV
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
raiseError.php:26
exit
exit
Definition:
rootindex.php:35
ILIAS\UI\examples\Symbol\Glyph\Header\header
header()
expected output: > ILIAS shows the rendered Component.
Definition:
header.php:29
components
ILIAS
WebDAV
resources
rootindex.php
Generated on Sun Aug 31 2025 23:04:21 for ILIAS by
1.8.13 (using
Doxyfile
)