Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
What You Need to Know when Searching for a Webhost Provider
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

732 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