我的mini_httpd安装后,在要访问的页面下放了一个.htpasswd文件,然后在浏览器
中输入服务器地址192.168.1.1后可以出现一个验证身份的对话框,但是我如果输入该文件
夹下的其他文件地址怎么没有验证就能显示出来;
另外,怎么通过输入一个地址如192.168.1.1跳过首页直接访问cgi程序
我的mini_httpd安装后,在要访问的页面下放了一个.htpasswd文件,然后在浏览器
中输入服务器地址192.168.1.1后可以出现一个验证身份的对话框,但是我如果输入该文件
夹下的其他文件地址怎么没有验证就能显示出来;
另外,怎么通过输入一个地址如192.168.1.1跳过首页直接访问cgi程序
Basic Authentication uses a password file called ".htpasswd", in the directory to be protected. This file is formatted as the familiar colon-separated username/encrypted-password pair, records delimited by newlines. The protection does not carry over to subdirectories. The utility program htpasswd(1) is included to help create and modify .htpasswd files.