SSL and HTTP Basic Authentication

In general, when I want to force the browser to access certain part of my website via https if the request is made with http, I would put a .htaccess inside that web directory.

But when I want to protect the directory with HTTP Basic Auth, it creates double authentication. I’ll expand this section after I captures the headers.

As a quick workaround, I use this hack in .htaccess

one response for SSL and HTTP Basic Authentication

  1. 94Belle says:

    Hello admin, i must say you have very interesting content here.
    Your page should go viral. You need initial traffic only.
    How to get it? Search for: Mertiso’s tips go viral

  2. Leave a Reply

    Your email address will not be published. Required fields are marked *