Search results for '웹디렉토리'

apache2, 계정별 웹 디렉토리 설정

2008. 11. 5. 21:27
/etc/apache2/mods-available/ 에 있는 userdir.conf, userdir.load 두 파일을
/etc/apache2/mods-enabled/ 에 복사해 넣는다.

그리고 apache2를 재부팅한다
sudo /etc/init.d/apache2 restart

각 계정은 이제 홈디렉토리에 public_html 폴더를 만들고,
이 안에 index.html 파일을 만들면 http://IP/~계정ID로 웹페이지를 볼 수 있다.

박상근 리눅스