| runderwo@mail.win.org 2007-06-06, 7:17 pm |
| I would like to allow users to symlink within their own files, but to
prevent users from linking to each other's publicly readable files,
because search engine traffic from cross-linked files is annoying.
This could be easily done if I could somehow constrain a symbolic link
as well as its target to be within UserDir. I don't see an obvious
way to do this with Apache 2.2.
My user directories are on a network filesystem with ACLs, so
SymLinksIfOwnerMatch doesn't really work in this case.
Actually, another way to address the problem would be to trigger a
redirect if the symlink target is outside the UserDir of the
originating symlink. I know Apache 2 filters can be quite powerful,
is there any way I could put them to use here?
|