📜  laravel 路由在生产服务器上不起作用 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:38.810000             🧑  作者: Mango

代码示例1
sudo a2enmod rewrite             # 1. 
sudo systemctl restart apache2   # 2. 

# 3. edit /etc/apache2/sites-enabled/000-default 
#  => make root directory var/www/html/public
  
# 4. Add 

    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all