>> Delete No. 32124 article
No. 짧은 지식으로 답변

등록 2001-06-03 15:01:00 By localhost     조회 2
이름 김광회    

		: 안녕하십니까...
: 꾸벅...
:
: 한가지 질문이 있습니다...
:
: virtualhost에 관한 질문입니다..
: 제가 설정을 두 종류로 해보았습니다..(물론 책을 보고서요..^^)
:
: 보니까 설정이 두종류가 있더라구요...
:
: <VirtualHost 211.178.34.67>
:      ServerName aaa.com
:      ServerAlias aaa.com 
:      ServerAdmin www at aaa.com 
:      DocumentRoot /home/www
:          <Directory /home/www>
:          Options Indexes FollowSymLinks
:          Options Includes
:          AllowOverride None
:          order allow,deny
:          allow from all
:          </Directory>
:      ScriptAlias /cgi-bin/ /home/www/cgi-bin/
:      ErrorLog logs/development_error
: </VirtualHost>
:
: 이것과
:
: <VirtualHost 211.178.34.67>
:   ServerName www.aaa.co.kr :   ServerAlias aaa.co.kr www.aaa.co.kr :   ServerAdmin hosting at aaa.co.kr :   DocumentR
oot /home/aaa/public_html :  <Directory /home/aaa/public_html>
:   Options FollowSymLinks includes ExecCGI
:   Options Includes
:   AddHandler cgi-script .cgi
:   AllowOverride None
:   order allow,deny
:   allow from all
:  </Directory>
:   Alias /cgi-bin/ /home/aaa/public_html/cgi-bin/
:   Errorlog /usr/apache/log/error_log
:   Transferlog /usr/apache/log/access_log
: </VirtualHost>
:
: 이렇게 두개가 있습니다..
:
: 그런데 제가 궁금한건
:
: Options Indexes FollowSymLinks
: Options Includes
: AllowOverride None
: order allow,deny
: allow from all
: </Directory>
: ScriptAlias /cgi-bin/ /home/www/cgi-bin/
:     
: 와
:
: Options FollowSymLinks includes ExecCGI
: Options Includes
: AddHandler cgi-script .cgi
: AllowOverride None
: order allow,deny
: allow from all
: </Directory>
: Alias /cgi-bin/ /home/aaa/public_html/cgi-bin/
:
: 이두개의 virtualhost설정 차이점에 관하여 궁금해서 그러는데
:
: 차이점이라면
: Options Indexes FollowSymLinks
: Options FollowSymLinks includes ExecCGI
:
: 와
:
: ScriptAlias /cgi-bin/ /home/www/cgi-bin/
: Alias /cgi-bin/ /home/aaa/public_html/cgi-bin/
:
: 의 차이와
:
: 위의 설정에서
:
: AddHandler cgi-script .cgi
:
: 이것이 추가된것밖에는 없는데 어떤 차이가 있는지요..
:
: 책을 봐도 여기에 대한 설명이 없더라구요...
:
: 귀찮으시더라도 답변 부탁드리겠습니다..
:
: 그럼 안녕히 계십시요..
:
: 꾸벅...
  Options Indexes FollowSymLinks
 Options FollowSymLinks includes ExecCGI
 
 ==> ExecCGI cgi를 실행시키겠다는 겁니당..
 ==> includes ssi를 사용하겠다는 겁니당..
  
 ScriptAlias /cgi-bin/ /home/www/cgi-bin/
 Alias /cgi-bin/ /home/aaa/public_html/cgi-bin/
 
 ==> 한마디로 모두 alias 시킨거 뿐입니다...
 
 AddHandler cgi-script .cgi
  ==> cgi 를 사용하겠다는 거네요...
 제가 넘 간단히 보았나요..
 두개 모두.. 계정별로 별도 옵션을 주기위해 이렇게 한거 같은데요..
 보통 이렇게 안쓰는데..왤케 어렵게 했을까낭.. ^^;
 저두 허접이지만.. 모르시는거 잇음 문의주셈...--김광회 입니다...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved