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>
제목 | 날짜 | ||
---|---|---|---|
23 | [워드프로세서] 지정된 경로를 찾을 수 없습니다 | 16906 | 2009/10/10 |
22 | [윈도우] SkyDrive 편리하게 사용하기(윈도우 탐색기로 이용하는 방법) | 18237 | 2011/04/02 |
21 | [미디어/녹음·재생] flac mp3 변환 | 18370 | 2011/01/28 |
20 | [브라우저] IE 인코딩 고정하기 [6] | 18435 | 2004/05/22 |
19 | [브라우저] 파이어폭스 추천 확장기능 [2] [1] | 18573 | 2007/11/12 |
18 | [생활] 고등학교 졸업증명서 인터넷으로 출력가능합니다(공인인증서 필요!!!!).~~ | 18823 | 2007/09/10 |
17 | [웹로그] 프로젝트에서 마일스톤이란? | 18841 | 2012/12/14 |
16 | [윈도우] Program Files 저장 위치 바꾸기 | 18901 | 2010/07/26 |
15 | [브라우저] 구글 크롬 플러스에서 오른쪽 마우스 해제 하기(플러그인 이용) [1] | 19013 | 2011/05/14 |
14 | [윈도우] 윈도우 7 64비트 서비스팩1 설치 실패 | 19501 | 2013/10/29 |
13 | [기본] 중국으로 문자 보내기 [11] | 20332 | 2010/09/11 |
12 | [생활] 효과적인 사진 폴더 정리 비법. | 21523 | 2010/12/30 |