![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
![]() |
| Bookmarks |
| Tags |
| apache, proxy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|