码迷,mamicode.com
首页 > 其他好文 > 详细

Laravel5 路由问题 /home页面无法访问

时间:2015-04-22 11:00:32      阅读:153      评论:0      收藏:0      [点我收藏+]

标签:

参考网址:http://stackoverflow.com/questions/11791375/laravel-routes-not-working

Laravel5 路由问题 /home页面无法访问

需要在apache 配置文件里添加对laravel文件夹的访问

<Directory "D:\WAMP\laravel\public">
  
    Options Indexes FollowSymLinks

    #
    # 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
    #此处必须为all none不行
    AllowOverride All

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

 

Laravel5 路由问题 /home页面无法访问

标签:

原文地址:http://www.cnblogs.com/asingna/p/4446491.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!