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>
제목 | 날짜 | ||
---|---|---|---|
119 | [브라우저] 오페라 브라우저 사용시 변경할 사항 | 10726 | 2008/07/31 |
118 | [기본] Aspire 5572ANWXCi 설치 드라이버 | 10756 | 2010/06/03 |
117 | [모바일] 반츄 키보드 | 10853 | 2012/05/02 |
116 | [기타] 지메일 알림, Gmail Notifier Plus | 10912 | 2010/11/16 |
115 | [기본] USB 보안 프로그램 | 10928 | 2010/05/02 |
114 | [윈도우] Windows 사용자(Users), Program Files, Program Files (x86) 폴더 D드라이브로 이동시키기 [1] | 10930 | 2013/06/22 |
113 | [기타] 주변기기 > 프린터 > hp Deskjet 600k | 10941 | 2005/03/04 |
112 | [하드웨어] 노트북 키맵핑 | 10952 | 2009/12/17 |
111 | [X61] 빨콩이 저절로 움직인다 | 10952 | 2009/01/01 |
110 | [네트워크] wol 기능을 이용해서 원격 접속하기 | 10977 | 2008/08/20 |
109 | [웹로그] 해당 디렉토리의 하위 디렉토리별 용량 알아보기 | 11016 | 2010/08/17 |
108 | [윈도우] 윈도우8 부팅 시 부팅 선택모드 복구메뉴 추가하기 | 11051 | 2013/06/24 |