• I have a development version of my main website that I want to conceal from the rest of the world. I have added the following to the head of my .htaccess file :

    AuthName “dev”
    AuthUserFile “/home/somewebsite/.htpasswds/public_html/passwd”
    AuthType Basic
    require valid-user

    However no challenge appears. If I remove the iThemes security section from .htaccess then the correct challenge appears.

    It seems that the HTTP auth stuff conflicts with the following iThemes stuff :

    <IfModule mod_authz_core.c>
    <RequireAll>
    Require all granted

    <IfModule !mod_authz_core.c>
    Order allow,deny
    Allow from all

    Is there a workaround ?

    Thanks

Viewing 1 replies (of 1 total)
  • What happens when you put the ‘Require valid-user’ line inside the RequireAll container directive ?

    Do note I’m assuming you are using Apache 2.4.x. If not please ignore this post.

Viewing 1 replies (of 1 total)
  • The topic ‘HTTP Authentication’ is closed to new replies.