ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
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 Fri Apr 4 2025 23:04:33 for ILIAS by
1.8.13 (using
Doxyfile
)