Getting a 404 when SSL redirect is enabled

I have setup an rt 4.4.2 instance on Ubuntu 16.04.

Ive recently installed a self signed cert on the server. Now when I hit it pulls up fine (the default apache index page). When I hit I get a 404 not found. Here are the apache logs:

[23/Apr/2018:20:08:02 +0000] “GET /rt/ HTTP/1.1” 404 2337 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36”

Ive added the following redirect to my /etc/apache2/sites-available/default file:

Redirect “/” “

When I comment out the above https redirect, rt pulls up fine on port 80.

Im thinking its something to do with the redirect.

In the apache log above its requesting HTTP. Maybe thats the issue?

Im sure lots of you guys have added ssl certs to your rt instances. Can anyone offer any advice on what I need to change to allow ?

Innumerable appreciations in advance.

I just tried sending a new ticket from http (port 80) and I got the following error:

Not Found
The requested URL /rt/Ticket/Display.html was not found on this server.

Apache/2.4.18 (Ubuntu) Server at Port 443

Does your apache ssl configuration define the /rt location?


Would this be the same as in the http conf?


Thanks again!

Added the following to the ssl conf file at the end:

Include /etc/request-tracker4/apache2-modperl2.conf
RedirectMatch ^/$ /rt

https traffic is happy.

Thanks for helping me through this.