mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
18 lines
742 B
PHP
18 lines
742 B
PHP
<?php
|
|
/**
|
|
* EGroupware - old WebDAV access
|
|
*
|
|
* Just for backward compatibility of the url: better use the webdav.php in the root.
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package filemanager
|
|
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
* @copyright (c) 2008-19 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
|
*/
|
|
|
|
// we permanent redirect to the correct URL instead of processing the request under the old url
|
|
// (processing under misses certain special handling like not access_logging the request)
|
|
http_response_code(301);
|
|
header('Location: '.str_replace('/filemanager/webdav.php/', '/webdav.php/', $_SERVER['REQUEST_URI']));
|