ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
x
+
Variables
$
(
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
rootindex.php
Go to the documentation of this file.
1
<?php
2
// BEGIN WebDAV
3
// This page is required to support Microsoft WebDAV clients with ILIAS.
4
5
// Note: Put this page at the root of the website and rename it to index.php.
6
7
// We MUST block WebDAV requests on the root page of the Web-Server
8
// in order to make the "Microsoft WebDAV MiniRedir" client work with ILIAS.
9
// If we don't do this, the client will display a non-working login-dialog.
10
11
if
($_SERVER[
'REQUEST_METHOD'
] ==
'PROPFIND'
12
|| $_SERVER[
'REQUEST_METHOD'
] ==
'OPTIONS'
)
13
{
14
// Block WebDAV Requests from "Microsoft WebDAV MiniRedir" client.
15
$status =
'404 Not Found'
;
16
header(
"HTTP/1.1 $status"
);
17
header(
"X-WebDAV-Status: $status"
,
true
);
18
exit
;
19
}
else
{
20
// Redirect browser to the ILIAS Start page
21
header(
"Location: /ilias/index.php"
);
22
exit
;
23
}
24
// END WebDAV
25
?>
exit
exit
Definition:
rootindex.php:22
rootindex.php
Generated on Mon Mar 31 2025 19:00:41 for ILIAS by
1.8.13 (using
Doxyfile
)