logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.




unwanted redirect from https to non-existent http on trac

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
kevinyeandel



Joined: 19 Aug 2014
Posts: 1
Location: Cambridge, UK

PostPosted: Fri 05 Jan '18 22:27    Post subject: unwanted redirect from https to non-existent http on trac Reply with quote

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: 6340
Location: Germany, Next to Hamburg

PostPosted: Thu 18 Jan '18 23:25    Post subject: Reply with quote

Hi Kevin,
can't you change that in trac itself?
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1