0
我想只批准到本地主机发送请求到如何限制Apache只接受来自本地主机的特定url请求?
https://localhost:443/action/start.cgi
我知道我可以限制访问的目录。
<Directory "/usr/local/httpd/htdocs">
AllowOverride All
</Directory>
有没有一个选项来阻止所有ips旁边的特定路径localhost?
针对Apache 2.4 [这个答案是很值得一读(http://stackoverflow.com/a/10078317/3536236) – Martin
有没有让这个仅在“HTTPS影响的选项://本地主机:443/action/start.cgi“? – 15412s
127.0.0.1是您的本地主机 – error2007s