Your redirect doesn't seem to be working correctly. In fact, the non-SSL version doesn't even seem to be UP now, and therefore, it cannot redirect either ... When I go to
http://gallery.kog.it/20112015/2013/301113, I see this:
Was it working before? This is something your server is doing now, as it seems the non-ssl version (port:80), does not seem to even point to the same location as your SSL website.
Update, found where to put https so now it's working but I'm asking myself how to fix the url problem without https.
I am not quite sure what "is working" now ... I don't see why you have double-slashes// after kog.it//. The below is the suggested implementation from Html5 Boilerplate, who create "best standards" for default web documents:
# ----------------------------------------------------------------------
# | Forcing `https://` |
# ----------------------------------------------------------------------
# Redirect from the `http://` to the `https://` version of the URL.
# https://wiki.apache.org/httpd/RewriteHTTPToHTTPS
# <IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteCond %{HTTPS} !=on
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
# </IfModule>
You should perhaps try the exact code above, including the dynamic value %{HTTP_HOST}. All this rule does, is check if the URL is running from http://*** ... If so, just keep the same link, but change it to https://***. In your case, either the server is redirecting non-SSL traffic somewhere else now, or your .htaccess code is incorrect.