该网站位于共享主机上.我需要密码保护单个URL.
http://www.example.com/pretty/url
显然,这不是我想要保护的物理文件路径,它只是特定的URL.
有.htaccess的快速解决方案吗?
.htaccess password-protection
.htaccess ×1
password-protection ×1