Skip to content

Instantly share code, notes, and snippets.

@SamsadSajid
Created May 31, 2018 08:54
Show Gist options
  • Save SamsadSajid/31269fe95daf828b47343574c9ed714e to your computer and use it in GitHub Desktop.
Save SamsadSajid/31269fe95daf828b47343574c9ed714e to your computer and use it in GitHub Desktop.
## laravel_project.conf
NameVirtualHost *:8080
Listen 8080
<VirtualHost *:8080>
ServerAdmin [email protected]
ServerName laravel.dev
ServerAlias www.laravel.dev
DocumentRoot /home/user/projects/laravel_project/public
<Directory /home/user/projects/laravel_project/public/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
Require all granted
</Directory>
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment