The MU forums have moved to WordPress.org

Referrers problem under admin panel over https (2 posts)

  1. andmed
    Member
    Posted 17 years ago #

    I restricted access to "files" folder without right referrer (by manually editing .htaccess)

    Here it is.

    #Prevent hotlinking
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_REFERER} !domain\.com/ [NC]
    RewriteCond %{REQUEST_URI} /files/
    RewriteRule .* - [G,L]

    #Prevent hotlinking
    RewriteCond %{HTTPS} =on
    RewriteCond %{HTTPS_REFERER} !domain\.com/ [NC]
    RewriteCond %{REQUEST_URI} /files/
    RewriteRule .* - [G,L]

    But there is no problem. It works OK, EITHER through http or https on the blog itself.

    But under admin panel (which I go to via https only), all the previews under "media" section have disappeared.

    Can I make admin panel work properly with referrers ?!

    p.s. WPMU 2.6.1

  2. andmed
    Member
    Posted 17 years ago #

    Opps. Just noticed - under another browser previews work OK... Just could not imagine... Very strange, anyway it seems nothing to blame on WPMU.

    p.s. Camino 1.6.5 does not show previews, Safari 1.3.2 does show... He-he.

About this Topic