• Resolved webtasky

    (@george9)


    Hi!

    There is an issue with LiteSpeed Cache on my staging page. The site is blocked using password:

    AuthUserFile /path/to/.htpasswd
    AuthName "Password"
    AuthType Basic
    Require valid-user

    After authentication files generated by LS Cache (CSS, JS) are not loading because of 401 error. Is there any workaround to use password protection and LiteSpeed Cache same time?

    Best Regards
    George

Viewing 1 replies (of 1 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    maybe you can put some SetEnvIf to put http auth only to pages, but not to any static requests

    or just deny access to all and only allow form your own IP , this way you don’t even need to invoke http auth

    Best regards,

Viewing 1 replies (of 1 total)

The topic ‘401 unauthorized while using .htpasswd’ is closed to new replies.