Next Previous Contents

3. ´ú¸Õ HTTPd

¦b§A¦w¸Ë§¹ HTTPd «á¡A¥H root ¾E¤J¡A¨Ã¥´¤J httpd & §Y ¥i°õ¦æ¥¦¡C (°²³]§A¦b¿W¥ßªº¨t²Î¤W¦w¸Ë¦n¤F ) ²{¦b§AÀ³¸Ó¥i¥H¦b ps ªº¦Cªí¤W¬Ý¨ì¥¦¡C³Ì²³æªº´ú¸Õ HTTPd ªº¤èªk¬O¨Ï¥Î Telnet ¡C¦b Linux ©R¥O¦CùØÁä¤J

   linux:~$  telnet 172.16.0.1 80
¦b³oùØ 80 ¬O HTTP ªº¤º©w°ð¡C¦pªG§A±N "Port" ³]©w¦¨¨ä¤£¦P ªº°ð¸¹¡A¨º´N´«¤W¥¦§a¡C§AÀ³¸Ó·|±o¨ì¤@­Ó¹³¤U­±ªº¦^À³
Trying 172.16.0.1...
   Connected to linux.mydomain.
   Escape character is '^]'.
²{¦b¡A ¦pªG§AÁä¤J¥ô¦ó¦r¤¸¨Ã«ö Enter Áä¡A §AÀ³¸Ó·|±o¨ì¹³¤U­±ªº¦^À³
   HTTP/1.0 400 Bad Request
   Date: Wed, 10 Jan 1996 10:24:37 GMT
   Server: NCSA/1.5
   Content-type: text/html

   <HEAD><TITLE>400 Bad Request < /TITLE> < /HEAD>
   <BODY><H1>400 Bad Request < /H1>
   Your client sent a query that this Server could
   not understand.<P>
   Reason: Invalid or unsupported method.<P>
   < /BODY>

²{¦b§Ú­Ì¤w·Ç³Æ¦n¨Ï¥Î¥t¤@¥x¹q¸£¤Îºô­¶ÂsÄý¾¹¨Ó»P³o¥x¦øªA¾¹¬Û³s±µ¤F¡C


Next Previous Contents