Public shared folder

Hello, I would like to hava a publicly shared folder as available directly at cloud.mydomain.com (without the /s/hash) while having the admin would be still available in the standard way on the same domain - cloud.mydomain.com/admin/.

Could you give me a hint how to configure apache for that?

Thanks!

With different subdomain, you could use simple redirects.

In your case you could try with the rewrite-modules:
RedirectMatch "^/$" "/s/hash"
https://httpd.apache.org/docs/current/rewrite/remapping.html

In order to login, you must explicitly use the index.php: https://youdomain.com/index.php
Perhaps it’s a bit more tricky with the regular expressions.

1 Like