본문 바로가기

htpasswd3

Apache 웹 서버 URL 접근제어 Access Control 통제 및 인증 Apache 웹 서버에서 IP 제한을 설정하려면 httpd.conf 또는 관련된 설정 파일을 열고 다음과 같이 Require 지시어를 사용하여 원하는 IP 주소나 범위를 지정할 수 있습니다. Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 192.168.1.1 위의 예제에서 Allow from 뒤에 원하는 IP 주소나 범위를 추가하세요. 또는, Apache 2.4 버전 이상을 사용하는 경우 다음과 같이 Require를 사용할 수 있습니다. Options FollowSymLinks AllowOverride None Require ip 192.168.1.1 변경 후에는 Apache를 재시작하여 설정을 적용해.. 2024. 2. 29.
Restriction of the access with the help of Nginx In this short post the point is how to protect your files and some part of your web site with a user password. With Nginx, a lot of options exist to protect your site with usernames and passwords. In Nginx the solution is not less attractive than in apache. In the configuration file, set folder to close, it is only necessary to load the file with passwords. There are two examples for closing of .. 2009. 10. 13.
CVS 활용 pserver 사용하기 보통의 경우, CVS패키지만 설치되어있으면 SSH, EXT등을 통하여 사용할수 있으나, pserver(Password Server)서버의 설치를 알아보도록 하자. 우선 CVS패키지를 설치하자. [root@Tomeii etc]# rpm -qa | grep cvs libbonoboui-2.8.0.99cvs20040929-2 cvs-1.11.17-9.RHEL4 cvs패키지가 보이는가? 없다면 다음과 같이 설치하자.(RHEL 기준) [root@Tomeii etc]# up2date --install cvs 이제 서비스에 pserver를 등록하자 [root@Tomeii etc]# vi /etc/xinet.d/cvspserver 위와 같이 파일을 연후 (기본적으로 없으니 자동생성) 다음의 내용을 입력하자 servic.. 2009. 7. 8.