[英]“.htaccess” and “.htpasswd" access policies
This problem might be easy, but I am really stuck. 这个问题可能很容易,但是我真的很困惑。 I am new to using .htaccess
and .htpasswd
files. 我是使用.htaccess
和.htpasswd
文件的新手。 I have an index.html
file that points to 3 different courses (all in the same directory). 我有一个index.html
文件,它指向3个不同的课程(都在同一目录中)。
You can do: 你可以做:
<Files A1.htm>
require user Nancy Bob
</Files>
<Files A2.htm>
require user Nancy Bob
</Files>
<Files A3.htm>
require user Nancy Randy
</Files>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.