Apache / 2.4.16中的异常处理程序出错

时间:2015-11-17 07:26:54

标签: macos apache laravel exception

我正在尝试在Mac OS X Yosemite 10.10.5Apache服务器版本

上设置本地开发环境
  

服务器版本:Apache / 2.4.16(Unix)服务器内置:2015年7月22日   21时03分09秒

当我使用localhost作为URL时(已移除index.html),我收到此错误

  

异常处理程序

中的错误

我尝试过调试但无法找到解决方案。

我也尝试更改httpd.conf文件,但仍然没有修复。

# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#
<Directory /Library/WebServer/Documents/>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

DocumentRoot "/Library/WebServer/Documents"
<Directory "/Library/WebServer/Documents">
    #
    # 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 FollowSymLinks Multiviews
    MultiviewsMatch Any

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

我想在浏览器中看到文件夹结构。

0 个答案:

没有答案