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>
제목 | 날짜 | ||
---|---|---|---|
95 | [생활] 면티 세탁 시 목이 안 늘어지게 하는 방법 | 11387 | 2004/05/11 |
94 | [윈도우] 파일삭제 확인을 뜨지 않게 하기 | 11416 | 2007/11/25 |
93 | [윈도우] 윈도우7 시스템 리소스 확인하기 | 11451 | 2013/03/04 |
92 | [사이트관리] www 로 접속하면 떼고 접속하기 [1] | 11461 | 2009/01/13 |
91 | [윈도우] 도스에서 드라이버 레터 고정하기 [1] | 11507 | 2010/07/12 |
90 | [유틸리티] Winamp Preferences (윈엠프 설정) | 11512 | 2003/07/12 |
89 | [브라우저] 파이어폭스에서 맞춤법 체크하기 | 11519 | 2010/11/16 |
88 | [기타] 영남대학교 자유게시판 RSS | 11539 | 2009/01/21 |
87 | [웹로그] MySQL euc-kr, latin1 문자코드 UTF-8로 컨버팅 하기 [1] | 11559 | 2010/09/17 |
86 | [텔넷] MySQL 비밀번호 변경하기 | 11569 | 2010/12/02 |
85 | [윈도우] 윈도우 하드를 다른 컴퓨터로 이동해서 사용하기 | 11599 | 2008/08/30 |
84 | [윈도우] 사용하고 있는 제품 버전을 확인하는 방법 | 11619 | 2003/08/13 |