Symbolic Links Are Not Working on Apache

Symbolic Links Are Not Working on Apache

Due to some cases, I wanna do CSS Injection with symbolic links to make coding easier. But I got errors (/var/log/apache/err_log) which said Symbolic link not allowed or link target not accessible.

And finally I found a solution works fine.

Generally speaking, because Apache default running as www-data or _www or somewhat whatever, it won’t have the permission to access the symbolic links. To solve this problem, simply set the user as yourself and restart Apache, let Apache run as your identity!

Written with StackEdit.

Loading Facebook Comments ...

Leave a Reply

Your email address will not be published. Required fields are marked *