Link to home
Start Free TrialLog in
Avatar of BzowK
BzowKFlag for United States of America

asked on

Apache: Help With Simple Reverse Proxy on Apache for Windows (XAMPP)

Hey Guys -

I'm trying to set up Reverse Proxy (using SSL) for 5-6 locally hosted apps on my home system.  So far, I've tried using IIS, nginx, and now Apache via XAMPP.  I couldn't get IIS to work hardly at all, I had nginx working for two of my hosted apps, but none of the other worked which is why I finally went to Apache.  Below are a few details...

- Forward 5-6 sites which mostly already use SSL, require standard credentials to access, and are obviously all on different ports
- I have a domain name already configured for my public IP.  It's dynamic, but is updated via DDNS on router
- I have an SSL cert bought via GoDaddy tied to my domain name which is the same currently installed on all services which I currently access via individual ports

I've found many guides as to setting up Reverse Proxy with Apache, but most are for linux and I cannot find out where certain files / functions are or should go in WIndows so have been trying a few different things myself without luck.

Questions
1. I thought I could do it fairly easily by adding the below lines (per app) to my httpd.conf file.  It's not working, though.  I enabled (by commenting out) many proxy modules in httpd, but still no go
<Location /appone>
order deny,allow
deny from all
allow from all
ProxyPass https://mynetwork.com:3030/appone
ProxyPassReverse https://mynetwork.com:3030/appone
</Location>


Would something basic and easy like this method work?

2. I've tried other methods where different files were created with the location info and other settings (like proxy.conf) but they didn't work either.  Is this track something I should focus on instead?

3. As mentioned, most apps I'm forwarding currently prompt for logon and have the domain's SSL installed (which is why I'm using the FQDN in the forward above.)  If i have SSL installed in Apache, would it be easier to just disable SSL for the apps, themselves as I'm not going to access them remotely once this is working?

System Specs
- Windows 8.1 x64
- Intel i7-3770 / 16gb RAM / OS & XAMPP installed on SSD
- XAMPP 3.2.1
- My SSL cert already installed and working on Apache (can get to XAMPP test page)

Any help would be appreciated - Thanks!
Avatar of gheist
gheist
Flag of Belgium image

I cannot find such version of XAMPP.
You need to use mod_proxy_https if you want to proxy https.
ASKER CERTIFIED SOLUTION
Avatar of BzowK
BzowK
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BzowK

ASKER

Other comment didn't help - figured out on my own