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>
제목 | 날짜 | ||
---|---|---|---|
11 | [생활] 사진 정리(송현정) | 21991 | 2010/12/30 |
10 | [X61] 레노버 X61 무선 인터넷 제한됨 해결방법 (인텔 무선인터넷 드라이버 재설치) | 22080 | 2013/07/04 |
9 | [브라우저] 구글 크롬 플러스 마우스 오른쪽 버튼 해제하기(즐겨찾기 이용) | 22297 | 2011/05/14 |
8 | [텔넷] tar.gz, zip, rar 압축파일의 압축하기 및 압축풀기의 텔넷 명령어 | 23032 | 2004/05/01 |
7 | [모바일] [컬러링]skt 컬러링 설정하기 | 25126 | 2011/11/16 |
6 | [웹로그] svn이란? | 25968 | 2012/12/14 |
5 | [생활] 스타크래프트 뉴포커디펜스 팁 | 28182 | 2011/03/01 |
4 | 무료 FTP 사이트 | 29821 | 2007/11/20 |
3 | [윈도우] AppData 위치 경로 변경 이동(아이튠즈 때문에 c드라이브 용량 부족한 문제 해결방법)(강추) [1] | 32257 | 2011/08/29 |
2 | [텔넷] [추천]SSH 파일 관리 명령어 - 폴더,파일의 삭제 및 압축/해제 [4] | 56725 | 2007/03/30 |
1 | [네트워크] KT 기가 공유기 와이파이 비밀번호 및 관리자 설정 | 73557 | 2015/11/25 |