본문 바로가기

emotional developer/detect-server

apache virtual host ip access 설정.

http://stackoverflow.com/questions/19711716/apache-restrict-access-to-specific-source-ip-inside-virtual-host


The mod_authz_host directives need to be inside a <Location> or <Directory> block but I've used the former within <VirtualHost> like so:

<VirtualHost *:8080>
    <Location />
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1
    </Location>

    ...
</VirtualHost>

Reference: http://askubuntu.com/questions/262981/how-to-install-mod-authz-host-in-apache

반응형

'emotional developer > detect-server' 카테고리의 다른 글

Redis Performance Debugging  (0) 2015.10.02
MS SQL 여러 디비에 변경 쿼리 실행 TSQL.  (0) 2014.08.11
redis 모니터링툴.  (0) 2014.07.07