The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com



Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SSH woes EWTGPAC SUN Solaris 4 12-19-2008 03:05 PM
IVM vs. HMC woes cjs226 AIX 1 09-24-2008 03:02 PM
AIX 5.2 Upgrade Woes from ML1 to ML8 Darth1970vader AIX 9 12-12-2006 04:41 AM
Solaris 8 ssh -X woes [MA]Flying_Meat SUN Solaris 3 03-17-2004 03:59 PM
CDROM Woes Jai UNIX for Dummies Questions & Answers 4 10-04-2002 04:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-11-2009
iansocool iansocool is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 4
apache, non-standard ports, and ssl woes

I have a Web app running on apache. When I run apache on 80 and 443 it's fine. Within the application, depending on the directory it redirects to http or https as needed.

views OK:
http://something.com/app

go to http://something.com/app/secure redirects to https:/something.com/app/secure

Great, but...

Now I'm trying to run this apache instance on non-standard ports (e.g. 8080 and 8443). I can view the app, but whenever it tries to redirect it doesn't change the port number.

views OK:
http://something.com:8080/app

go to http://something.com:8080/app/secure redirects to https:/something.com:8080/app/secure
which obviously won't work, but if I go directly to https:/something.com:8443/app/secure it loads fine.

I could change the app so that it puts the port numbers in, but what I'm really trying to do is use a second apache instance running on 80 and 443 as a proxy.

I want people to go to http://something.com/app which is a reverse proxy for http://something.com:8080/app and that https://something.com/app is a reverse proxy for https://something.com:8443/app.

The problem with the above is that when someone goes to http://something.com/app/secure it redirects to https:/something.com:8080/app/secure.

I thought about using a rewriterule, but I'm not sure if that can even work. Any advice?

Thanks,
Ian
Closed Thread

Bookmarks

Tags
apache, proxy

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:04 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0