首頁  >  問答  >  主體

nginx - Tengine報403 Forbidden錯誤

初次用Tengine, 出現錯誤:

403 Forbidden

You don't have permission to access the URL on this server. Sorry for the inconvenience.
Please report this message and include the following information to us.
Thank you very much!##URL: http://172.20.6.136:81/
Server: webphp2.yumwei.com
Date: 2016/01/04 21:30:48
Powered by Tengine/2.0.3

接著不停地找方案,例如把網站目錄/home/wwwroot/Comp權限設定成777,或是在nginx.conf設定檔中加入user root ...都不管用,還請各位大神賜教

天蓬老师天蓬老师2712 天前1842

全部回覆(1)我來回復

  • 迷茫

    迷茫2017-05-16 17:22:11

    你這目錄(/home/wwwroot/Comp)下有index檔嗎?

    回覆
    0
  • 取消回覆