标签:
以此记录学习laravel的一些问题
问题: 设置路由后页面总是404 not found
解决:需要在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>
标签:
原文地址:http://www.cnblogs.com/derrck/p/4685864.html