Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

laravel routes not working on production

sudo php artisan optimize:clear
sudo php artisan cache:clear
Comment

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>
Comment

PREVIOUS NEXT
Code Example
Shell :: linux give permission to folder 
Shell :: install pavucontrol 
Shell :: conda install boto3 
Shell :: zsh install 
Shell :: purge apache 2 
Shell :: linux show number of cores 
Shell :: install netflix on ubuntu 
Shell :: install docker on centos 
Shell :: ImportError: cannot import name docevents 
Shell :: how to uninstall app from terminal ubuntu 
Shell :: ubuntu unable to write file 
Shell :: cannot find lgl qt 
Shell :: composer remove package 
Shell :: ssh remove known_hosts entry 
Shell :: vlc media player download ubuntu 
Shell :: ubuntu ocamlfuse 
Shell :: cv2.error: OpenCV(4.5.4) D 
Shell :: command for removing installed applications in linux 
Shell :: Error: GPG check FAILED fedora mysql 
Shell :: install clockwork laravel 
Shell :: django knox install 
Shell :: phpstan install 
Shell :: install vinagre ubuntu 
Shell :: remove ppa from ubuntu 
Shell :: how to save windows spotlight images 
Shell :: conda install tabula 
Shell :: how to install http-server globally 
Shell :: kill skype ubuntu 
Shell :: git rebase fork 
Shell :: no build file in linux headers 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =