我将.htaccess
与.htpasswd
一起使用
但我想排除单个文件
所以我尝试过但它不起作用
AuthName "No"
AuthType Basic
AuthUserFile "C:\wamp\www\blabla\.htpasswd"
Require valid-user
<FilesMatch public/images/logo.png>
Allow from all
Satisfy Any
</FilesMatch>
答案 0 :(得分:0)
您可以像这样使用f.tidy <- function(df, old.col, new.col) {
df %>%
mutate_at(vars(old.col), funs(new = .+ 1)) %>%
rename_at(vars(matches("new")), ~ new.col)
}
f.tidy(df = df, old.col = old.col, new.col = new.col)
# test tcy dan
#1 1 4 5
#2 2 5 6
#3 3 6 7
来允许某些URI或URI跳过身份验证:
SetEnvIfNoCase