Warning: session_destroy() [function.session-destroy]: Session object destruction failed in /home/httpd/html/board/include/header.php on line 32
적수네 동네 - 질문과 답변 [ 게시물 삭제 ]
>> Delete No. 31970 article
No. virtualhost 설정에 관한 질문입니다..

등록 2001-06-01 14:42:00 By localhost     조회 1
이름 이창식    

		안녕하십니까...
꾸벅...
 한가지 질문이 있습니다...
 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   DocumentRoot /hom
e/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
 이것이 추가된것밖에는 없는데 어떤 차이가 있는지요..
 책을 봐도 여기에 대한 설명이 없더라구요...
 귀찮으시더라도 답변 부탁드리겠습니다..
 그럼 안녕히 계십시요..
 꾸벅...
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

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