조회 수 2526 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

yum 으로 httpd 설치한 환경 입니다.

 

vi /etc/httpd/conf/httpd.conf 에서 다음과 같이 수정해 줍니다.

 

<IfModule mod_cband.c>
        <Location /cband-status>
                SetHandler cband-status
                AuthType Basic
                AuthName User
                AuthUserFile /home/cyber87/xe/.htpasswd
                AuthGroupFile /dev/null
                require valid-user
        </Location>
        <Location /cband-status-me>
                SetHandler cband-status-me
        </Location>
        <Location /~*/cband-status-me>
                SetHandler cband-status-me
        </Location>
        <Location /cband-status>
                Order deny,allow
                Deny from all
                Allow from all
        </Location>
</IfModule>

 

한 다음 인증 아이디 패스워드를 만들어 줍니다.

 

 

htpasswd -c -m /home/cyber87/xe/.htpasswd admin

 

 

패스워드 두번 입력후 아파치 재 시작

 

 

htpasswd -c -m /home/cyber87/xe/.htpasswd admin // -c 가 들어가면 새로 만들어서 계정생성

htpasswd -m /home/cyber87/xe/.htpasswd admin // 기존 .htpasswd 에 계정 추가

htpasswd -D /home/cyber87/xe/.htpasswd admin // 계정삭제

?

List of Articles
번호 제목 날짜 조회 수
4 1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' 에러명 select count(*) as cnt from g4_point where mb_id = 'admin' and po_rel_table = '01_1' and po_rel_id = '1' and po_rel_action = '쓰기' 1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (u... 2012.02.21 93026
3 (Owncloud) Error while trying to create admin user: An exception occured in driver: could not find driver 에러 해결 (Owncloud) Error while trying to create admin user: An exception occured in driver: could not find driver 에러 해결 php 확장 모듈에서 php_pdo_mysql.dll 추가 해 주면 됩니다. 테스트 환경 windows7 // auto... 2015.02.19 4098
2 #145 - Table './DB/xe_documents' is marked as crashed and should be repaired phpmyadmin 에서 #145 - Table './DB/xe_documents' is marked as crashed and should be repaired centos mysqld.log 에서 [ERROR] /usr/local/mysql/libexec/mysqld: Table './DB/xe_documents' is marked as crash... file 2014.06.22 16961
1 #1040 - Too many connections // XE cannot connect to DB. 이런 에러 나올때 #1040 - Too many connections XE cannot connect to DB. 이런 에러 나올때 mysql 에서 max_connection 제한때문에 일어나는 에러 현재 msyql max_connetion 확인 #mysqladmin -u root -p variables | grep max_conne... 2013.11.20 36209
Board Pagination Prev 1 2 3 4 Next
/ 4