I've the webdav service ready to go on my small Apache web server. After I upload personal files via webdav, it's placed at the bottom of my public_html directory. I additionally have full visibility to any or all the files and sites under public_html. Can you really redirect webdav to suggest to some specific file directory, ideally to some directory like https://mysite.com/storage?

I am presuming this is a htaccess technique but would appreciate any advice or pointers.


put this inside your htaccess and put the htaccess in doc root

RewriteRule ^/?$ /storage/ [R,NC,L]