Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: unwanted redirect from https to non-existent http on trac |
|
Author |
|
kevinyeandel
Joined: 19 Aug 2014 Posts: 1 Location: Cambridge, UK
|
Posted: Fri 05 Jan '18 22:27 Post subject: unwanted redirect from https to non-existent http on trac |
|
|
Hi
2 servers behind an AWS ELB.
Only traffic on https allowed. I have removed the listner for port 80.
1 server is a trac bitnami image (http)
1 server is my centos with phpmyadmin and my Laravel app + mysql server.
domain A records are
www.example.com
example.com
*.example.com
trac.example.com
pma.example.com
rules are [all https]
trac.example.com -> server A
all others mentioned -> server B
When I 'POST" a new trac ticket the action redirects to http://trac.example.com/ not https://trac.example.com.
I don't have the issue with Laravel app or PhpMyAdmin.
Beginning to think this is trac app related and not the Apache config? I've looked on line but see some 5-10 year old posts but nothing relevant.
I don't see how a rewrite can work if port 80 from the internet side of the load balancer has been removed?
Many thanks for any advice or suggestions.
Thanks
Kevin |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7381 Location: Germany, Next to Hamburg
|
Posted: Thu 18 Jan '18 23:25 Post subject: |
|
|
Hi Kevin,
can't you change that in trac itself? |
|
Back to top |
|
|
|
|
|
|