Solved

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

Posted on 2015-01-02
3
431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

What You Need to Know when Searching for a Webhost Provider
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

626 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