1<?php
2/**
3 * EGroupware - old WebDAV access
4 *
5 * Just for backward compatibility of the url: better use the webdav.php in the root.
6 *
7 * @link http://www.egroupware.org
8 * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
9 * @package filemanager
10 * @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
11 * @copyright (c) 2008-19 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
12 */
13
14// we permanent redirect to the correct URL instead of processing the request under the old url
15// (processing under misses certain special handling like not access_logging the request)
16http_response_code(301);
17header('Location: '.str_replace('/filemanager/webdav.php/', '/webdav.php/', $_SERVER['REQUEST_URI']));
18