Dev Environment
특정 URL의 IP 허용
bboks.net
2015. 1. 20. 13:30
Fedora 20을 기준으로
httpd.conf를 수정해서 URL에 IP 허용을 할 수 있음
<Location = "URL">
Order mutual-failure
Allow from IP
</Location>
예)
<Location = "/">
Order mutual-failure
Allow from 192.0.0.1
</Location>
여러 IP을 허용하고 싶다면 Allow from에 IP을 이어서 적으면 됨
예) Allow from192.0.0.1 127.0.0.1