我的apache配置了 basic auth.假定我的ip地址是 111.111.111.111/var/www/html/remote.html<p>it is a test</p>curl -u xxxx:xxxx -I http://111.111.111.111/remote...獲得這樣的輸出HTTP/1.1 200 OKDate: Fri, 07 Sep 2018 03:26:06 GMTServer: Apache/2.4.6 (CentOS)Access-Control-Allow-Origin: *Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONSAccess-Control-Allow-Credentials: trueAccess-Control-Allow-Headers: Authorization,DNT,User-Agent,Keep-Alive,Content-Type,accept,origin,X-Requested-WithLast-Modified: Fri, 07 Sep 2018 03:22:41 GMTETag: "b2-5753f8537e26c"Accept-Ranges: bytesContent-Length: 178Content-Type: text/html; charset=UTF-8為何在瀏覽器中輸入http://111.111.111.111/remote...不能直接顯示remote.html它會調出認證窗口?
apache認證的問題
拉風的咖菲貓
2018-09-24 17:08:04