Created
July 15, 2013 18:49
-
-
Save christianromney/6002371 to your computer and use it in GitHub Desktop.
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 | |
<Directory "/Users/christian/src/work/ncl/drupal"> | |
AllowOverride all | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<Location /balancer-manager> | |
SetHandler balancer-manager | |
Order allow,deny | |
Allow from all | |
</Location> | |
<Proxy balancer://cascluster> | |
BalancerMember http://sso1.mia.ncl.com:8000 route=1 | |
BalancerMember http://sso2.mia.ncl.com:8000 route=2 | |
ProxySet stickysession=ROUTEID | |
</Proxy> | |
<VirtualHost *:80> | |
Options All | |
ServerAdmin [email protected] | |
DocumentRoot "/Users/christian/src/work/ncl/drupal" | |
ServerName local.ncl.com | |
ErrorLog "/var/log/apache2/local.ncl.com-error_log" | |
CustomLog "/var/log/apache2/local.ncl.com-access_log" common | |
# All of these are CBE proxy passes | |
ProxyPass /vacations/saved http://local.ncl.com/vacations/saved | |
ProxyPassReverse /vacations/saved http://local.ncl.com/vacations/saved | |
ProxyPass /cbe/cache http://local.ncl.com:8080/cache | |
ProxyPassReverse /cbe/cache http://local.ncl.com:8080/cache | |
ProxyPass /vacations http://local.ncl.com:8080/vacations | |
ProxyPassReverse /vacations http://local.ncl.com:8080/vacations | |
ProxyPass /recommend-vacations http://local.ncl.com:8080/recommend-vacations | |
ProxyPassReverse /recommend-vacations http://local.ncl.com:8080/recommend-vacations | |
ProxyPass /recommended-vacations http://local.ncl.com:8080/recommended-vacations | |
ProxyPassReverse /recommended-vacations http://local.ncl.com:8080/recommended-vacations | |
ProxyPass /cbejsp http://local.ncl.com:8080/cbejsp | |
ProxyPassReverse /cbejsp http://local.ncl.com:8080/cbejsp | |
ProxyPass /cruise-quotes http://local.ncl.com:8080/cruise-quotes | |
ProxyPassReverse /cruise-quotes http://local.ncl.com:8080/cruise-quotes | |
ProxyPass /userlogin http://local.ncl.com:8080/userlogin | |
ProxyPassReverse /userlogin http://local.ncl.com:8080/userlogin | |
ProxyPass /forgot-username-password http://local.ncl.com:8080/forgot-username-password | |
ProxyPassReverse /forgot-username-password http://local.ncl.com:8080/forgot-username-password | |
ProxyPass /reservations http://local.ncl.com:8080/reservations | |
ProxyPassReverse /reservations http://local.ncl.com:8080/reservations | |
ProxyPass /find-vacations http://local.ncl.com:8080/find-vacations | |
ProxyPassReverse /find-vacations http://local.ncl.com:8080/find-vacations | |
ProxyPass /initializeAdvanceSearch http://local.ncl.com:8080/initializeAdvanceSearch | |
ProxyPassReverse /initializeAdvanceSearch http://local.ncl.com:8080/initializeAdvanceSearch | |
ProxyPass /cruises http://local.ncl.com:8080/cruises | |
ProxyPassReverse /cruises http://local.ncl.com:8080/cruises | |
ProxyPass /assets http://local.ncl.com:8080/assets | |
ProxyPassReverse /assets http://local.ncl.com:8080/assets | |
# Who needs Big-IP? | |
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED | |
ProxyPass /cas/ balancer://cascluster/cas/ | |
ProxyPassReverse /cas/ balancer://cascluster/cas/ | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment