https://bugzilla.wikimedia.org/show_bug.cgi?id=33751

       Web browser: ---
             Bug #: 33751
           Summary: apache redirects.conf hardcode redirections to HTTP
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: SSL related
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Apache configuration for redirections ( redirects.conf ) always redirects user
to the http:// scheme. Since we support SSL on most site, we should stick to
whatever protocol was requested by the user.

Example of buggy redirection:

    RewriteCond %{HTTP_HOST} mediawiki.org
    RewriteRule ^/(.*)$ http://www.mediawiki.org/$1 [R=301,L]

Should either redirect to a relative URL ( //www.mediawiki.org ) or replace
http with SERVER_PROTOCOL

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to