Pretty URL for remote.php?

After successfully solving my Pretty URL issue caused by the theming app in NC12, I was wondering if there’s a way of having a Pretty URL equivalent of the WebDAV URL.

Currently I’m using https://mydomain/nextcloud/remote.php/webdav/. Is there a way to remove the “.php” part?

If I look at the .htaccess file, there are mentions of remote.php:
RewriteRule ^$ /remote.php/webdav/ [L,R=302]
RewriteRule ^remote/(.*) remote.php [QSA,L]

But if I try accessing /remote/webdav instead of /remote.php/webdav it doesn’t work.

Any suggestions?

1 Like

@LukasReschke @MorrisJobke one for you guys?

Not supported as of now.

1 Like

Any plans to do so?

Would this be just some rewrite magic or would it need to change other things in the code?

Code changes are needed as well. And there are no plans yet, because it’s usually used internally (our apps, desktop client) anyway.

1 Like

need remove remote.php too

1 Like