Solved

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

Posted on 2015-01-02
3
353 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 61

Expert Comment

by:gheist
Comment Utility
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
Comment Utility
I finally figured it out via an article - Thanks!
0
 

Author Closing Comment

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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now