Created
August 31, 2015 09:54
-
-
Save meeuw/64f446305176237633f3 to your computer and use it in GitHub Desktop.
apache configuration for a local test site with hardcoded URLs
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 local.site | |
ProxyPass / http://local.site:81/ timeout=9999999 | |
ProxyPassReverse / http://local.site:81/ | |
RequestHeader unset Accept-Encoding | |
AddOutputFilterByType SUBSTITUTE text/html | |
Substitute s/www.site/local.site.nl/ni | |
Header edit Location ^http://www. http://local. | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment