Skip to content

Instantly share code, notes, and snippets.

@amalichev
Forked from dj1020/vhosts.conf
Created November 28, 2018 12:54
Show Gist options
  • Save amalichev/a0eba3a634b11e927ffd013d3b8cdfc9 to your computer and use it in GitHub Desktop.
Save amalichev/a0eba3a634b11e927ffd013d3b8cdfc9 to your computer and use it in GitHub Desktop.
Laravel Virtual Host for Apache Example
<VirtualHost *:80>
DocumentRoot "/Users/myName/Projects/laravel/public"
ServerName myLaravel.dev
<Directory "/Users/myName/Projects/laravel/public">
AllowOverride All
Options FollowSymLinks +Indexes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment