首页 > 其他 > 详细

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

时间:2015-04-22 10:59:08      阅读:969      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!