logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: HTTPS Redirect does not work after updating to TLS
Author
Alexandru



Joined: 26 May 2015
Posts: 8

PostPosted: Thu 11 Jun '15 10:31    Post subject: HTTPS Redirect does not work after updating to TLS Reply with quote

Hi,

in my apache conf file I redirect http to https requests like this:

Code:
# Redirect all requests to https
<VirtualHost *:80>
    ServerName www.mypage.de
    Redirect permanent / https://www.mypage.de/
</VirtualHost>


This worked just fine until yesterday, when I have updated to Apache 2.4 and disabled SSL 3 by doing this:

Code:
# Disable SSL 3 due to the POODLE vulnerability
SSLProtocol all -SSLv2 -SSLv3


Now, if I call any http URL, the server does not respond. If I explicitly call a https URL it works.

Unfortunately I have no idea why this is happening.

Do you have any idea that could help me out of this?

Many thanks!
Alexandru
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Thu 11 Jun '15 10:58    Post subject: Reply with quote

is your server still listen to port 80?
Back to top
Alexandru



Joined: 26 May 2015
Posts: 8

PostPosted: Thu 11 Jun '15 13:40    Post subject: Reply with quote

I think so. I still have the directive

Code:
Listen 80


If I comment the redirect lines, it works with both http and https...
Back to top
Alexandru



Joined: 26 May 2015
Posts: 8

PostPosted: Thu 11 Jun '15 15:03    Post subject: Reply with quote

Now it works! I tested it from another computer and the problem is gone! I will test it again from my home computer an see if the problem was computer related.
Back to top


Reply to topic   Topic: HTTPS Redirect does not work after updating to TLS View previous topic :: View next topic
Post new topic   Forum Index -> Apache