Last active
February 12, 2016 23:36
-
-
Save edouard-lopez/0890b17b53e19fcfefea to your computer and use it in GitHub Desktop.
proxying from host to guest machine
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
# blog.site.com | |
<VirtualHost *:80> | |
ServerName blog.site.com | |
ServerAlias blog.site.com wiki.site.com redmine.site.com git.site.com | |
#ProxyPassMatch ^(blog|git|redmine|wiki).site.com http://$1.site.com/ | |
#ProxyPass / http://blog.site.com/ | |
ProxyPass /blog/ http://blog.site.com/ | |
#ProxyPass /git http://git.site.com/ | |
#ProxyPass redmine.site.com http://redmine.site.com/ | |
#ProxyPass wiki.site.com http://wiki.site.com/ | |
ProxyPass /wiki/ http://wiki.site.com/ | |
ErrorLog /var/log/apache2/proxy-error.log | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment