Created
July 7, 2017 08:43
-
-
Save happygrizzly/a533141f5b3d932bd57276f8fd0dcdc0 to your computer and use it in GitHub Desktop.
vhost config
This file contains hidden or 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
<VirtualHost localhost:YOUR_PORT> | |
ServerName localhost | |
Define WebDirPath WEB_ROOT_DIR_PATH | |
DocumentRoot ${WebDirPath} | |
Alias /YOUR_PROJECT_NAME ${WebDirPath} | |
<Directory ${WebDirPath}> | |
Options -Indexes | |
AllowOverride All | |
Require all granted | |
</Directory> | |
SetEnv APP_ENV development | |
SetEnv APP_DB_CONN_URL mysql://YOUR_DB_USER:YOUR_DB_PASS@YOUR_DB_HOST/YOUR_DB_NAME?charset=utf8 | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment