각종 팁&정보를 나누는 곳입니다.
누군가에게 도움이 된다 싶으시면 언제라도 포스팅 :)
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
xampp 로컬테스트 계정 생성
첨부파일 https://imweb.eond.com/webtip/431638

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>

코멘트 0
접기/펴기 | 댓글 새로고침
 
 
Total 683 articles in 54 / 57 pages
번호 제목 제목 조회 수 날짜날짜
47 [포토샵] Adobe CS5 설치 13650 2010/07/26
46 [윈도우] 윈도우7 데몬 설치가 안되요윈도우7 데몬 설치가 안되요 13755 2010/07/26
45 [엑셀] 엑셀에서 네모 숫자 만들기 파일 13786 2019/02/04
44 [윈도우] 윈도우 복구 콘솔 명령어 리스트 13915 2008/08/30
43 [기본] 파워 공진음 잡기 14069 2011/04/16
42 [윈도우] 윈도우 설치 후 필수 프로그램(ver.3) 14282 2009/01/11
41 [미디어/녹음·재생] flv 다운받기 (동영상 다운받기) [1] 14345 2007/08/26
40 [하드웨어] 지오 공유기 설정방법 14469 2009/10/30
39 [포토샵] Windows 7 64비트 / Adobe Photoshop CS3 이상에서 PFM 글꼴(Type 1) 사용하기 [1] 14605 2011/05/19
38 [브라우저] 구글 크롬 북마크 수동 가져오기 14747 2009/11/29
37 [Nginx] 특정 디렉토리 php 실행하기 14763 2018/08/26
36 [웹로그] DIV 에 마우스 오버 시 색상 바꾸기 파일 [1] [1] 14989 2007/11/22

해시태그 디렉터리

지금 이순간

오늘의 핫게시물