Ubuntu system Apache Server installed Laravel open Web page but display 403 Forbidden

Source: Internet
Author: User
Title, the Web page also shows that you do not have the permission to access/on the this server.
Laravel is in accordance with the official online steps installed, Mod_rewrite opened,. htaccess also changed, all useless.
I don't really understand the laravel framework, which is the root directory? Why is there no index.php in the root directory?
Solution.

Reply content:

Title, the Web page also shows that you do not have the permission to access/on the this server.
Laravel is in accordance with the official online steps installed, Mod_rewrite opened,. htaccess also changed, all useless.
I don't really understand the laravel framework, which is the root directory? Why is there no index.php in the root directory?
Solution.

First look at the Apache configuration file http.conf


  
       Options FollowSymLinks    AllowOverride None    Order deny,allow    Deny from all

Find the code above, if yes Deny from all , modify it to allow from all try


  
       Options FollowSymLinks    AllowOverride All    Order deny,allow    allow from all

LaravelThe run will first load public under the index.php , and the user accesses url a method that will be 路由 converted to in by setting Controller .

This is a permissions issue you should look at the Status Code table explained

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.