Fixing 403 Forbidden on alias directory with Apache

后端 未结 11 1221
隐瞒了意图╮
隐瞒了意图╮ 2020-12-08 14:35

I am trying to setup an alias to point to some directory on my filesystem not in DocumentRoot. Now I get a 403 Forbidden response. These are the steps taken: 1. edit http.co

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 14:39

    Check permission on /Users/user/Documents/, /Users/user/ (higher level permissions are enforced first ...)

    /bin/su into the user running Apache (like www, www-data) and cat a file in the /Users/user/Documents/example directory. That might point you to permission problems with your setup.

提交回复
热议问题