linux - How to rename Webdav folder in another -


in server apache , mod_dav have following webdav rules in config

alias /admin_folder /var/www/test_site_cloud/web/admin_folder/files 

so have /admin_folder mount.
need rename folder inside alias

/admin_folder/foo/bar /admin_folder/foo/new_name_folder

there method??
try mod_rewrite in webdav client don't work....

rewriteengine on rewriterule ^admin_folder/foo/bar(.*)$  admin_folder/foo/new_name_folder$1 [r=301,nc] 

this not going work because webdav module not aware of how things rewritten. might able symlink, if mod_dav follows those, otherwise out of luck.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -