Created
February 1, 2014 19:28
-
-
Save jameswhite/8757326 to your computer and use it in GitHub Desktop.
/etc/apache2/vhost.d/public/newton.jameswhite.org.conf
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> | |
######################################################################## | |
# Stock vhosts stuff | |
######################################################################## | |
ServerAdmin webmaster@websages.com | |
ServerName newton.jameswhite.org | |
ServerAlias newton.jameswhite.org | |
ErrorLog logs/newton.jameswhite.org-error.log | |
CustomLog logs/newton.jameswhite.org-access.log combined | |
LogLevel warn | |
<Directory /> | |
Options FollowSymLinks | |
AllowOverride None | |
</Directory> | |
DocumentRoot /var/www | |
<Directory /var/www> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny | |
allow from all | |
</Directory> | |
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ | |
<Directory "/usr/lib/cgi-bin"> | |
AllowOverride None | |
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch | |
Order allow,deny | |
Allow from all | |
</Directory> | |
SSLProxyEngine On | |
ProxyRequests Off | |
ProxyPass /livingroom http://172.17.2.133:8080/ | |
ProxyPassReverse /livingroom http://172.17.2.133:8080/ | |
ProxyPass /food http://172.17.2.82:8081/ | |
ProxyPassReverse /food http://172.17.2.82:8081/ | |
ProxyPass /bed http://172.17.2.83:8081/ | |
ProxyPassReverse /bed http://172.17.2.83:8081/ | |
ProxyPass /litter http://172.17.2.84:8081/ | |
ProxyPassReverse /litter http://172.17.2.84:8081/ | |
ProxyPass /patio http://172.17.2.87:8081/ | |
ProxyPassReverse /patio http://172.17.2.87:8081/ | |
ProxyPass /door http://172.17.2.129:8081/ | |
ProxyPassReverse /door http://172.17.2.129:8081/ | |
<LocationMatch "^/+$"> | |
Options +Indexes | |
</LocationMatch> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment