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>
제목 | 날짜 | ||
---|---|---|---|
443 | [기타] 페이팔 가입하기 | 8877 | 2013/03/16 |
442 | [윈도우] 윈도우7 시스템 리소스 확인하기 | 11451 | 2013/03/04 |
441 | [사이트관리] 무료 dns 서비스 | 8800 | 2013/03/02 |
440 | [브라우저] 크롬 확장 프로그램, imgur | 12115 | 2013/02/27 |
439 | [브라우저] 크롬 확장 프로그램, Google Publisher Toolbar [1] | 7168 | 2013/02/17 |
438 | [브라우저] 크롬 확장프로그램 추천, pig 툴바 | 6937 | 2013/02/01 |
437 | [웹로그] svn이란? | 25968 | 2012/12/14 |
436 | [웹로그] 프로젝트에서 마일스톤이란? | 18841 | 2012/12/14 |
435 | [웹 제작] 앱 아이콘(아이폰 스타일) 아이콘 만들기 | 9187 | 2012/12/06 |
434 | [사이트관리] 서브 도메인 XE 모듈별로 지정하기 | 7065 | 2012/12/03 |
433 | [사이트관리] 서브 도메인 디렉토리별로 지정하기 | 8542 | 2012/12/03 |
432 | [사이트관리] 서브도메인을 라온넷에 연결하기 | 7693 | 2012/12/03 |