Forked from ralphcrisostomo/xampp_proxy_server_config
Last active
October 8, 2017 17:29
-
-
Save kubawich/ea35e17e3c104e32e60375471ecbb471 to your computer and use it in GitHub Desktop.
XAMPP Proxy Server Config
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
1. Open /Applications/XAMPP/etc/httpd.conf | |
2. Enable the following Modules by removing the # at the front of the line. | |
- LoadModule rewrite_module modules/mod_rewrite.so | |
- LoadModule proxy_module modules/mod_proxy.so | |
- LoadModule proxy_http_module modules/mod_proxy_http.so | |
3. Copy and Paste below to the bottom of httpd.conf | |
<IfModule mod_proxy.c> | |
ProxyRequests On | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyVia On | |
ProxyPreserveHost On | |
ProxyPass / http://127.0.0.1:5000/ | |
ProxyPassReverse / http://127.0.0.1:5000/ | |
ProxyPreserveHost On | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment