상세 컨텐츠

본문 제목

apache-2.2.0 에서 사용자별 public_html 인식되도록~

Linux

by 마니씨 2010. 1. 11. 16:19

본문

# vi /apm/apache/conf/httpd.conf
을 열어서 아래 줄을 찾는다.

# User home directories
#include conf/extra/httpd-userdir.conf

의 밑에 줄에 아래를 추가한다.

UserDir public_html

public_html 디렉터리의 퍼미션을 711 로 설정한다.

# /apm/apache/bin/httpd -t
Syntax OK

-> 로 문법 검사를 실행하고

# /apm/apache/bin/apachectl restart

이렇게 서비스 재시작하면 바로 적용된다!고 하였지만 권한 문제로 페이지가 열리지 않는 문제가 발생하였다 ㅠㅠ

# vi /apm/apache/conf/httpd.conf
를 열어서

Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all

라고 써있던 부분의 순서등등을 바꿔 주었다.

Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all

요렇게 하니까 된다 ㅠㅠ

'Linux' 카테고리의 다른 글

booting 시 프로그램 자동 실행행하도록 설정  (0) 2010.01.12
Apache 설정 (2.2.0 version)  (0) 2010.01.11
telnet-server 설정  (0) 2010.01.11
사용자별 용량 제한  (0) 2010.01.11
service config  (0) 2010.01.11

관련글 더보기