Solved

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

Posted on 2015-01-02
3
393 Views
Last Modified: 2015-01-20
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!
0
Comment
Question by:BzowK
  • 2
3 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40528821
I cannot find such version of XAMPP.
You need to use mod_proxy_https if you want to proxy https.
0
 

Accepted Solution

by:
BzowK earned 0 total points
ID: 40551336
I finally figured it out via an article - Thanks!
0
 

Author Closing Comment

by:BzowK
ID: 40559353
Other comment didn't help - figured out on my own
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question