I have foo/bar.txt
which should be 403 and I also have foo-hashed/hash/bar.txt
which is a symlink to foo/bar.txt
and should be accessible. foo/.htaccess
contains
Order deny,allow
Deny from all
which is all good but I can't get the hashed file to be accessible. I tried all sorts of variants of Options FollowSymLinks
in foo
, in foo-hashed
without much success.
This is
foo/.htaccess
This is
foo-hashed/.htaccess
Edit: this is a working solution.