/etc/apache2/httpd.conf 에 다음 줄을 추가합니다.
Include /etc/apache2/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerName "localhost"
ServerPath /
DocumentRoot "/Users/geekshin/git/ProjectFolder"
</VirtualHost>
ServerPath는 서블릿패스와 같은 경로의 Prefix 입니다.
'Server' 카테고리의 다른 글
Apache httpd서버 mod_jk 사용 (0) | 2014.06.04 |
---|---|
jboss web.xml에서 시스템 프로퍼티 사용 (0) | 2014.06.04 |
jboss ajp port 사용 (0) | 2014.06.04 |