Last active
August 29, 2015 14:23
-
-
Save rossriley/1d98314f248bdec38037 to your computer and use it in GitHub Desktop.
Virtualhost config for apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
VirtualDocumentRoot /home/%1/public | |
UseCanonicalName Off | |
SetEnv ENV production | |
<Directory /home/> | |
Options Indexes FollowSymLinks MultiViews | |
Require all granted | |
</Directory> | |
<Directory /home/*/public> | |
Options Indexes FollowSymLinks MultiViews | |
Require all granted | |
</Directory> | |
FallbackResource /index.php | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment