Skip to content

Instantly share code, notes, and snippets.

@kubawich
Forked from ralphcrisostomo/xampp_proxy_server_config
Last active October 8, 2017 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kubawich/ea35e17e3c104e32e60375471ecbb471 to your computer and use it in GitHub Desktop.
Save kubawich/ea35e17e3c104e32e60375471ecbb471 to your computer and use it in GitHub Desktop.
XAMPP Proxy Server Config
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