Created
October 23, 2014 10:33
-
-
Save michaelhoang/9892838891811403955e to your computer and use it in GitHub Desktop.
Virtual Host In Linux
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
<VirtualHost *:80> | |
ServerName wp.local | |
DocumentRoot "/var/www/wp" | |
<Directory "/var/www/wp"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Require all granted | |
</Directory> | |
## Must have | |
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/wp/$1 | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment