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>
제목 | 날짜 | ||
---|---|---|---|
167 | [X61] 뱅킹에서 빨콩 날아다니는 증상 [1] | 9485 | 2008/12/10 |
166 | [하드웨어] 컴퓨터 관련 포럼 [1] | 9493 | 2009/09/23 |
165 | [윈도우] 마우스키 설정으로 컴퓨터 하기 | 9497 | 2013/07/27 |
164 | [하드웨어] USB가 고장났다. | 9512 | 2009/11/06 |
163 | [웹로그] MySQL 관련 팁 | 9515 | 2010/09/19 |
162 | [하드웨어] 잉크 토너 구매 | 9524 | 2010/03/08 |
161 | 비스타>계속 하려면 사용 권한이 필요합니다. | 9546 | 2008/10/02 |
160 | [미디어/녹음·재생] 프로디지 녹음하기 | 9550 | 2009/01/11 |
159 | [브라우저] 크롬을 좀 더 편리하게 사용할 수 있는 방법은 없을까? | 9567 | 2009/01/06 |
158 | [웹로그] mysql의 최대 성능 향상 방법 | 9612 | 2010/09/19 |
157 | [메신저] MSN 자동 로그인 해제하기 | 9623 | 2009/07/31 |
156 | [하드웨어] 어머니 노트북 구매하기 | 9626 | 2009/10/18 |