Viewing 2 replies - 1 through 2 (of 2 total)
  • SetEnvIfNoCase Host ^www\.something-1\.de$ SECURED=yes
    SetEnvIfNoCase Host ^www\.something-4\.de$ SECURED=yes
    
    AuthType Basic
    AuthName "My Protected Area"
    AuthUserFile /your/path/to/passwords
    Require valid-user
    Satisfy         any
    Order           allow,deny
    Allow from      all
    Deny from       env=SECURED

    This should do the trick i guess

    Thread Starter Duttlinger

    (@duttlinger)

    Hi Sakar, works perfect

    Thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.htacces password protection for wordpress multisite’ is closed to new replies.