httpd.conf 아파치 설정에서 특정아이피만 허용/접근불가 설정
페이지 정보
작성자 최고관리자 작성일 21-02-10 16:56 조회 7,970 댓글 0본문
#### httpd.conf 파일..
** 특정한 아이피(IP)만 접근불가
<Directory "C:/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi
AllowOverride All
Order allow,deny
Allow from all
Deny from 해당IP
Deny from env=no_access
</Directory>
** 특정한 아이피(IP)만 허용
<Directory "/home/testjobpr2/public_html">
Options FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
Allow from 해당IP
Deny from all
Deny from env=no_access
</Directory>
** 특정한 아이피(IP)만 접근불가
<Directory "C:/Apache/htdocs">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi
AllowOverride All
Order allow,deny
Allow from all
Deny from 해당IP
Deny from env=no_access
</Directory>
** 특정한 아이피(IP)만 허용
<Directory "/home/testjobpr2/public_html">
Options FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
Allow from 해당IP
Deny from all
Deny from env=no_access
</Directory>
댓글목록 0
등록된 댓글이 없습니다.