Answers for "laravel routes not working on production server"

0

laravel routes not working on production server

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 
<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
</Directory>
Posted by: Guest on October-01-2021
0

laravel routes not working on production server

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 
<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
</Directory>
Posted by: Guest on October-01-2021

Code answers related to "laravel routes not working on production server"

Browse Popular Code Answers by Language