mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
permanent redirect requests to filemanager/webdav.php to webdav.php
This commit is contained in:
parent
ec463058e2
commit
612fdd71cb
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* eGroupWare - WebDAV access
|
||||
* EGroupware - old WebDAV access
|
||||
*
|
||||
* Just for backward compatibility of the url: better use the webdav.php in the root.
|
||||
*
|
||||
@ -8,8 +8,10 @@
|
||||
* @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 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @version $Id$
|
||||
* @copyright (c) 2008-19 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
*/
|
||||
|
||||
include('../webdav.php');
|
||||
// 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']));
|
||||
|
Loading…
Reference in New Issue
Block a user