1. 테스트할 계정 주소를 등록한다.
C:\Windows\System32\drivers\etc\hosts
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
::1 localhost
127.0.0.1 localhost
127.0.0.1 123.localhost
127.0.0.1 1234.localhost
127.0.0.1 12345.localhost
127.0.0.1 123456.localhost
127.0.0.1 1234567.localhost
127.0.0.1 12345678.localhost
127.0.0.1 123456789.localhost
127.0.0.1 1234567890.localhost
127.0.0.1 whatfishisit.localhost
127.0.0.1 whatfish.com
127.0.0.1 localhost.com
127.0.0.1 dev.localhost
127.0.0.1 xe.localhost
127.0.0.1 rx.localhost
# 127.0.0.1 whatfish.com
# 127.0.0.1 dev.localhost.com
# 127.0.0.1 whatfishisit.com
# 127.0.0.1 www.whatfishisit.com
# 127.0.0.1 localhost/dev
# 127.0.0.1 whatfish.localhost
# 127.0.0.1 whatfish.localhost.com
2.
D:\xampp\apache\conf\httpd.conf
DocumentRoot "D:/web/eond/dev"
<Directory "D:/web/eond/dev">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
DocumentRoot "D:/web/eond/rhymix"
<Directory "D:/web/eond/rhymix">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order deny,allow
Deny from all
</Directory>
DocumentRoot "D:/web/home/rx"
<Directory "D:/web/home/rx">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
DocumentRoot "D:/web/home/xe"
<Directory "D:/web/home/xe">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
3.
D:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "d:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/web/eond/dev"
ServerName dev.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/apps/wordpress/htdocs"
ServerName wordpress.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "D:/web/eond/rhymix"
ServerName localhost/rhymix
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/web/home/rx"
ServerName rx.localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "d:/web/home/xe"
ServerName xe.localhost
</VirtualHost>
제목 | 날짜 | ||
---|---|---|---|
227 | [윈도우] 마우스키 설정으로 컴퓨터 하기 | 9497 | 2013/07/27 |
226 | [하드웨어] CPU 순위 | 5868 | 2013/10/09 |
225 | [윈도우] 윈도우 7 64비트 서비스팩1 설치 실패 | 19501 | 2013/10/29 |
224 | [가상윈도우] [VirtualBox] VirtualBox 저장소(VDI) 용량 늘리기 | 7642 | 2013/10/29 |
223 | [기타] 이클립스 Failed to crate the java machine 해결 방법 질문입니다. [1] | 6447 | 2013/11/11 |
222 | [생활] CGV/롯데시네마/메가박스/프리머스 영화 싸게보는법! 재밌는 영화, 할인받아보자 | 7904 | 2013/12/16 |
221 | [엑셀] 수식 전체 입력하기 | 5787 | 2013/12/31 |
220 | [엑셀] IF 조건문 | 7516 | 2013/12/31 |
219 | [생활] 뱅크월렛 사용하기 [4] | 7523 | 2014/01/08 |
218 | [사이트관리] Apache 서버 .htaccess 활용(접근 제어 - 아이피 제어) | 5995 | 2014/02/09 |
217 | [하드웨어] 새로 산 하드에 공진음이 들린다 | 5184 | 2014/02/15 |
216 | [윈도우] 윈도우 복원 방법 정리 | 5418 | 2014/02/15 |