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>
제목 | 날짜 | ||
---|---|---|---|
35 | [기타] 추천 스크린 세이버 | 15394 | 2011/02/21 |
34 | [브라우저] 파이어폭스 그리스몽키 | 15442 | 2010/12/20 |
33 | [브라우저] 파이어폭스 검색에 네이버 영어사전 등록하기 [1] | 15468 | 2010/11/25 |
32 | [웹로그] MySQL 외부접속 허용 및 속도 빠르게 하는 방법! | 15530 | 2010/09/19 |
31 | [브라우저] 파폭 Plugin Container.exe 프로세스 죽이기 | 15911 | 2010/12/30 |
30 | [기본] 24인치 모니터 해상도 | 16054 | 2011/03/17 |
29 | [윈도우] SmartClose, 작업환경 그대로 저장하기 | 16059 | 2010/09/05 |
28 | [웹로그] 유니클락 블로그에 삽입하기 | 16113 | 2007/10/08 |
27 | [파일관리/압축] ExpressService.exe 삭제하기 | 16462 | 2009/11/16 |
26 | [하드웨어] SD카드 복구하기 [1] | 16643 | 2009/08/04 |
25 | [윈도우] 윈2000에서 넷미팅사용시 아이콘이 256색을 계속 유지할 경우 고치는 방법 | 16698 | 2005/03/04 |
24 | [윈도우] 이번에는 AppData를 옮겨보자 | 16737 | 2010/07/26 |