Hi, Got this weird error after updates. The whole site works fine, but none of the symlinks work - getting 403 error , however i have "Options +FollowSymlinks" in Apache directlives , and no htaccess files ... permisions seems to be fine... apache configs seems to be populated ok... anything im missing ? robots.txt shown ok, rbobots2.txt - 403 error.
Oh, ok, i found a solution : Options +SymlinksIfOwnerMatch should be replced with Options +FollowSymlinks but these are in default generated configs and i assume will be overwriten one day ? So basically 2 questions - how do i lock my settings , and why SymlinksIfOwnerMatch doesnt work, (seems all permisons are fine )
Make sure the symlink's owner is the same as the owner of the file or folder it points to. That way Options +SymlinksIfOwnerMatch should work just fine. To change the symlink's owner: Code: chown -h <user>:<group> <symlink>
It should not be replaced with that. You just opened up a security hole in your system, so take care to undo that change. Like @remkoh mention, you must take care the symlink and the file it points to are owned by the user of the website.
Yes, thanks, found out that group permissions where somehow altered , and that caused 403 ... Brought things back !