안녕하십니까...
꾸벅...
한가지 질문이 있습니다...
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
이것이 추가된것밖에는 없는데 어떤 차이가 있는지요..
책을 봐도 여기에 대한 설명이 없더라구요...
귀찮으시더라도 답변 부탁드리겠습니다..
그럼 안녕히 계십시요..
꾸벅...