📜  Shopware 6 - htaccess Passwortschutz - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:46.402000             🧑  作者: Mango

代码示例1
AuthType Basic
AuthName "Please login."
AuthUserFile /home/my-project/.htpasswd


    Require expr %{THE_REQUEST} =~ m#.*?\s+\/api.*?#
    Require valid-user


// Rest goes here -->