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 | [웹로그] 한컴쪽지 1.5 | 8388 | 2007/11/05 |
226 | [기본] ebs, 파이어폭스 지원은 안되겠니? | 8480 | 2007/11/12 |
225 | [하드웨어] PC 구매하기 | 8494 | 2009/06/30 |
224 | [하드웨어] 노트북 복구기 | 8516 | 2009/06/16 |
223 | [브라우저] 내 파이어폭스 북마크를 다른 컴퓨터에서도 사용하자 | 8525 | 2007/10/28 |
222 | [사이트관리] 서브 도메인 디렉토리별로 지정하기 | 8542 | 2012/12/03 |
221 | [브라우저] 가릉빙가님께서 사용하시는 파이어폭스 확장기능입니다 | 8554 | 2007/10/29 |
220 | [브라우저] 왜임마 사용하기 #1 [2] [1] | 8559 | 2007/11/27 |
219 | 사운드카드 확인 [2] | 8564 | 2008/08/28 |
218 | [백신/악성코드/보안] 에디터플러스를 이용한 VBS.WHITEHOME 바이러스 치료방법 | 8599 | 2005/03/04 |
217 | [하드웨어] 하드 구매 | 8666 | 2009/03/25 |
216 | [미디어/녹음·재생] Imeem.com 과 같은 음악갤러리 사이트... esnips (by 장화신은고양이) | 8674 | 2007/08/24 |