1 / 16

Web Server

Web Server. Presentasi oleh :. Aniesma Sulthan Maududi [41506110050] Ibnu Farid Iskandar [41506110165] Murni Asih [ 41506110163] Nurholifah [ 41506110098]. Definisi Web Server.

viho
Download Presentation

Web Server

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Server Presentasioleh: • AniesmaSulthanMaududi [41506110050] • IbnuFaridIskandar [41506110165] • MurniAsih[41506110163] • Nurholifah[41506110098]

  2. DefinisiWeb Server • Program yang melayani request melaluiprotokolHTTP danmemberikan response sesuaidengan request tersebut

  3. Fitur-Fitur Web Server • HTTP • Logging • Authentikasi User • KontenStatisdanDinamis • HTTPS • KompresiKonten • Virtual Hosting • Pengatur Bandwidth

  4. Cara Kerja • Client “connect” ke server • Client mengirimkansebuah “request” • Server membaca request, danmemberikan “response” • Client menerjemahkandanmenampilkan response

  5. Sederhananya… • Client memintasebuah file • Server mencari file yang diminta • Server mengirimkan response-header besertaisi file yang diminta • Server memutuskoneksi

  6. Identifikasi Server • Domain name / alamat IP dan port • http://www.mercubuana.ac.idmenunjukkannama server www.mercubuana.ac.iddengan port default 80 • http://127.0.0.1:8080/index.html • Merujukkekomputerlokal(127.0.0.1 adalahkomputer yang sedangdipakaiitusendiri) • Portnyaadalah 8080 • Namafilenyaadalah index.html

  7. Identifikasi File • Nama file disebutkandalamRequest Message • Server memetakan (mapping) namatersebutterhadap file dalam server • Mapping dilakukanoleh server sesuaidengankonfigurasi yang kitagunakan • Misalnya, /~user/index.html adalah c:\inetpub\wwwroot\user\index.html

  8. Isi Request Message GET /index.html HTTP/1.0\r\n Connection: Keep-Alive\r\n User-Agent: Mozilla/4.72 [en]\r\n Host: 127.0.0.1:31415\r\n Accept: image/gif, image/jpeg, */*\r\n Accept-Encoding: gzip\r\n Accept-Language: en\r\n Accept-Charset: iso-8859-1,*,utf-8\r\n \r\n

  9. Isi Response Message HTTP/1.0 200 OK\r\n Date: blah-blah-blah\r\n Server: blah-blah-blah\r\n Content-Type: important\r\n Content-Length: 12345\r\n Last-Modified: blah-blah-blah\r\n \r\n Raw data

  10. HTTP/1.0 200 OK\r\n Content-Type: sesuatu\r\n \r\n Data HTTP/1.0 302 Moved\r\n Location: newurl\r\n \r\n HTTP/1.0 404 Not Found\r\n \r\n Termasuk Connection: close\r\n Content-Length: yyy\r\n Macam-Macam Response

  11. Contoh Web Server • Microsoft Internet Information Service (IIS) • Apache • Xitami

  12. Kelebihan IIS • Memiliki GUI yang memudahkaninstalasi • Sangatkompatibeldenganaplikasi-aplikasi Microsoft • Technical Support dari Microsoft sangatbagus

  13. Kekurangan IIS • Hanyadapatbekerjapada OS Windows • Tidakterlalufleksibel, karenabatasan-batasan yang dipakaioleh Windows • Source code-nya proprietary

  14. Kelebihan Apache • Dipakaisebagai web server standarbagiindustri • Open source • Multi platform • Freeware

  15. Kekurangan Apache • Instalasinyamenggunakan mode console • Tidakada technical support khusus, kecualidarikomunitas (forum) dan vendor pihakketiga • Performanyatidakterlalubaguspada OS Windows • Membutuhkanpengetahuanteknislebihuntukinstalasidankonfigurasi

  16. Terimakasih

More Related