1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Configuring SSL *AND* Authentication

Discussion in 'Apache' started by gw1500se, Apr 9, 2011.

  1. #1
    I have a directory that is configured to require authentication (AUTHMySQL) and that is all working properly. The difficulty arises when I try to include SSL. When I use 'https' in my URL, authentication goes out the window. I am able to access anything in that directory without authenticating. As a related problem, if I use 'http' then create a rewrite rule in .htaccess to force 'https' after authentication, the authentication works but none of the 'PHP_AUTH_*' variables are set and if the user clicks cancel on the authentication prompt, access is granted anyway.

    Can someone help me with the configuration so I can get both SSL and authentication? TIA.
     
    gw1500se, Apr 9, 2011 IP