Last active
August 5, 2019 10:30
-
-
Save michimau/615193a4558851855215661ac99246ae to your computer and use it in GitHub Desktop.
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 *:80> | |
ServerName sdi.eea.europa.eu | |
ProxyPreserveHost On | |
RewriteEngine On | |
<Location /datashare> | |
RewriteEngine On | |
#RewriteCond %{HTTP:dummyentry} ^$ | |
RewriteCond %{HTTP:dummyentry} "dummy" [NC] | |
RewriteRule ^/ http://app/$1 [R=302,L,NC] | |
#ProxyPass http://app | |
#ProxyPassReverse http://app | |
</Location> | |
<Location /data> | |
#ProxyPreserveHost On | |
#Order deny,allow | |
#Order allow,deny | |
#Deny from all | |
RequestHeader set dummyentry dummy | |
ProxyPass http://proxy/datashare | |
ProxyPassReverse http://proxy/datashare | |
</Location> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment