Hello,
I have two user on server, i installed php with suphp, enable Option +SymlinksIfOwnerMatch in virtualhost config of two user for security problem.
I try create a symlink on user "john" to a file on user "danny" then visit link to file 1.txt via browser of website on user john and i received 403 error code. It work!
658601 lrwxrwxrwx 1 john john 65 Apr 28 03:10 1.txt -> /home/danny/domains/abc.com/public_html/index.php
Continue, i install nginx as reverse proxy for apache. I visited link to file 1.txt and i read content in file index.php of user danny.
Please help me fix it.
Sorry my english is poor!
Thanks!
I have two user on server, i installed php with suphp, enable Option +SymlinksIfOwnerMatch in virtualhost config of two user for security problem.
I try create a symlink on user "john" to a file on user "danny" then visit link to file 1.txt via browser of website on user john and i received 403 error code. It work!
658601 lrwxrwxrwx 1 john john 65 Apr 28 03:10 1.txt -> /home/danny/domains/abc.com/public_html/index.php
Continue, i install nginx as reverse proxy for apache. I visited link to file 1.txt and i read content in file index.php of user danny.
Please help me fix it.
Sorry my english is poor!
Thanks!