1
In Apache, how do I map a directory as a subdirectory in another directory?
e.g. I have two directories:
/var/www/aaa
/var/www/bbb
Directory /bbb
should be also available in /aaa/bbb
.
I tried:
Alias "/aaa/bbb" "/var/www/bbb"
<Directory "/var/www/bbb">
Dav on
Options Indexes
</Directory
<Directory "/var/www/aaa">
Dav on
Options Indexes
</Directory
This works in so far as I can access /aaa/bbb
directly. But if I open /aaa
, the "virtual" subdirectory /aaa/bbb
will not be shown.
How can I fix this?
Thanks. I hoped there is an apache-only solution. I tried symbolic links but unfortunately not all WebDAV Clients we use support them :-/ – John Hawk – 2019-06-05T04:38:19.117