# Symbolic Links Are Not Working on Apache

Due to some cases, I wanna do CSS Injection (opens new window) 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 (opens new window) 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 (opens new window).

Last Updated: 3/18/2019, 3:07:42 PM