Options Indexes FollowSymLinks MultiViews ``` 改為(不改會出現Forbidden訊息) ``` Options +Indexes +FollowSymLinks +MultiViews ``` 7. 例如: ``` # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # #Options Indexes FollowSymLinks #Options Indexes Includes Options +Indexes +FollowSymLinks +MultiViews # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Require all granted ``` ### 二、PHP的設定 1. 確定 php.ini 中的這兩個延伸件有啟用: ``` extension=php_openssl.dll extension=php_fileinfo.dll ``` ### 三、修改目錄權限 1. 底下這幾個目錄需設為777 - bootstrap/cache - storage
Options +Indexes +FollowSymLinks +MultiViews ``` 7. 例如: ``` # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # #Options Indexes FollowSymLinks #Options Indexes Includes Options +Indexes +FollowSymLinks +MultiViews # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Require all granted ``` ### 二、PHP的設定 1. 確定 php.ini 中的這兩個延伸件有啟用: ``` extension=php_openssl.dll extension=php_fileinfo.dll ``` ### 三、修改目錄權限 1. 底下這幾個目錄需設為777 - bootstrap/cache - storage
# # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # #Options Indexes FollowSymLinks #Options Indexes Includes Options +Indexes +FollowSymLinks +MultiViews # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # Require all granted ``` ### 二、PHP的設定 1. 確定 php.ini 中的這兩個延伸件有啟用: ``` extension=php_openssl.dll extension=php_fileinfo.dll ``` ### 三、修改目錄權限 1. 底下這幾個目錄需設為777 - bootstrap/cache - storage
extension=php_openssl.dll extension=php_fileinfo.dll ``` ### 三、修改目錄權限 1. 底下這幾個目錄需設為777 - bootstrap/cache - storage
進階搜尋