You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncomment below line from /opt/lampp/etc/httd.conf
#open with sublime
sudo subl /opt/lampp/etc/httpd.conf
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
add below code to httpd-vhosts.conf
# opem xampp vhost file with sublime
sudo subl /opt/lampp/etc/extra/httpd-vhosts.conf
#append code into httpd-vhosts.conf
# VirtualHost for laravel.dev
<VirtualHost *:80>
ServerName laravel.dev
ServerAlias www.laravel.dev
DocumentRoot "/opt/lampp/htdocs/laravel/public"
#below line is not required but it's define for pointing index.php
DirectoryIndex index.php
<Directory "/opt/lampp/htdocs/laravel/public">
AllowOverride All
Require all Granted
</Directory>
</VirtualHost>
Register host entry into /etc/hosts
# open hosts file with sublime
sudo subl /etc/hosts
#add below to hosts file
127.0.0.1 www.laravel.dev
For Laravel, give permission 777 for writing cache or storage