Re: Re[2]: apache FollowSymLinks and SymLinksIfOwnerMatch question
Patrick Hsieh said:
> Hello "nate" <debian-user@aphroland.org>,
>
> OK. This is my situation. I am running mutiple apache server which all
> mount nfsserver:/var/www/ as their local /var/www and share the same
> storage via nfs.
>
> Is apache any configuration to avoid symbolic link across documentroot? I
> hope to keep the consistency of the content of DocumentRoot because of
> NFS. Symbolic link outside the document could possibly lead to
> inconsistency.
I'm not sure I understand, but to remain consistant I reccomend only
using relative symbolic links that is...
BAD:
-------------
cd /var/www
mkdir test
cd test
ln -s /var/www/index.html index.html
GOOD:
--------------
cd /var/www
mkdir test
cd test
ln -s ../index.html index.html
your question "Is apache any configuration to avoid symbolic link across
documentroot?" is not worded in a way that I can understand what your
really asking. try to re-phrase it. unless the above answers your
question of course :)
nate
Reply to: