cd
/app/apache/conf
vi /app/apache/conf/httpd.conf
# vhost 전에 설정 주석처리
# ifconfig 가상분할 없애고
# 네트워크 재시작
vi /app/apache/conf/extra/httpd-userdir.conf
userDir
html
디렉토리를 만든다.
/app/apache/bin/apachectl
stop
/app/apache/bin/apachectl start
아래 html 폴더가 있는 친구들만 index of가 뜬다.
*각 계정마다 관리 페이지 접속한다.
vi /app/apache/conf/extra/httpd-userdir.conf
# 아래 파일을 사용할것이므로 주석처리를 해제해준다.
Include
conf/extra/httpd-userdir.conf
cd
/home/
chmod
o+rx first
chown
html first
# 해당 홈디렉토리의 권한과 주인을 first로 바꿔준다.
해당 계정으로 들어가본다.
get post 옵션
Order allow,deny
Allow from all
Order deny,allow
Deny from all
보통은 디버깅 할때 사용
웹에서 정보를 받을때 어떻게 할것이냐
댓글 없음:
댓글 쓰기