Readable download links

Hello,
I’m trying to create “readable” download links with Apache so that for example [my domain]/foo/ redirects to [my domain]/d/6afld552e7d245cgbe03/ (the download link auto-generated by SeaFile). To this end, I’ve added the following in the Apache configuration:

Alias /foo/ /d/6afld552e7d245cgbe03/

But when I visit [my domain]/foo/ no redirect happens. How can I fix this, or how can I create readable share links in another way?

Thank you in advance.

Try this:

<location "/foo">
        Redirect "/foo" "/d/6afld552e7d245cgbe03"
</Location>
1 Like

That works, thank you!