����

  1. telnet ���ޥ�ɤ��٤Υޥ���ˤ����⤹�롣
    fs% telnet sw04
    Trying 133.97.168.104...
    Connected to sw04.is.kochi-u.ac.jp.
    Escape character is '^]'.
    
    
    UNIX(r) System V Release 4.0 (sw04)
    
    login: tkikuchi
    Password: 
    Last login: Fri Jan 28 19:40:08 from tw
    Sun Microsystems Inc.   SunOS 5.5.1     Generic May 1996
    You have mail.
    sw04% who
    98ss068    console       7��  2 20:49
    tkikuchi   pts/1         7��  6 16:25   (fs-168)
    sw04% exit
    sw04% ����������
    Connection closed by foreign host.
    fs% 
    
  2. telnet ���ޥ�ɤ��٤Υޥ���λ��פ�����å�
    fs% telnet sw04 daytime
    Trying 133.97.168.104...
    Connected to sw04.is.kochi-u.ac.jp.
    Escape character is '^]'.
    Fri Jul  6 16:29:18 2001
    Connection closed by foreign host.
    fs% 
    
  3. telnet ���ޥ�ɤ� �������� WWW �����Ф���³���Ƥߤ롣
    ss004% telnet ws 80
    Trying 133.97.166.19...
    Connected to ws.is.kochi-u.ac.jp.
    Escape character is '^]'.
    GET / HTTP/1.0
    
    HTTP/1.1 403 Forbidden
    Date: Fri, 06 Jul 2001 07:15:51 GMT
    Server: Apache/1.3.9 (Unix)
    Connection: close
    Content-Type: text/html
    
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    .....
    Connection closed by foreign host.
    ss004% 
    
  4. HTTP �����Ф�Ω���夲�롣 ��ʬ��Ω���夲�� HTTP ������ (Port 8080 �ǵ�ư) ����³���Ƥߤ롣
    ss004% ~/www/bin/apachectl start
    /home/tkikuchi/www/bin/apachectl start: httpd started
    ss004% telnet localhost 8080
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    GET / HTTP/1.0
    
    HTTP/1.1 200 OK
    Date: Fri, 06 Jul 2001 07:45:15 GMT
    Server: Apache/1.3.19 (Unix)
    Connection: close
    Content-Type: text/html
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <HTML>
    ...
    </BODY></HTML>
    Connection closed by foreign host.
    ss004% 
    
  5. �֥饦��(Netscape)��ȤäƼ�ʬ��Ω���夲�������Ф˥����������Ƥߤ� (URL������ http://swXX.is.kochi-u.ac.jp:8080/)
  6. HTTP ���������
    ss004% ps -u tkikuchi -f | grep http
    tkikuchi  8091  8084  0 16:45:09 ?        0:00 /pub/solaris/apache/bin/httpd -d /home/tkikuchi/www
    ...
    ss004% ~/www/bin/apachectl stop
    /home/tkikuchi/www/bin/apachectl stop: httpd stopped
    ss004% 
    

�ѥ������Ȥ���硢MS-DOS �ץ���ץȤ��� telnet ��ư���롣 3. �� WWW �����Фؤ���³�Ǥϡ������ܡ��ɤ�������Ϥ��������Хå� ����ʤ��Τ����դ��롣

4. HTTP �����Ф�Ω���夲



���ꡧ��ʬ��Ω���夲�� http �����ФΥ����������� (~/www/logs/access_log) ��᡼�������� [email protected] �ޤ����äƤ���������
����2: /pub/solaris/apache/cgi-bin/ �����äƤ��� CGI (Common Gateway Interface) �ץ������� ~/www/cgi-bin/ �˥��ԡ����Ƽ¹ԤǤ���褦�� ���ʤ����� Apache �Υޥ˥奢�� �򻲹ͤˤ��뤳�ȡ�
����ˡ�SSI (Server Side Include) �ˤ��ưŪ�ʥ���ƥ����ˡ�ʤɤ� �Ĥ��Ƥ⸦�椹�뤳�ȡ�
�����ɤ��ޤǤǤ��������狼��褦�ˡ��嵭���ɥ쥹�ޤǥ�ݡ��Ȥ��롥