17
IN THE NAME OF GOD

Web servers

Embed Size (px)

DESCRIPTION

simple review over common web servers

Citation preview

Page 1: Web servers

IN THENAME OFGOD

Page 2: Web servers

WEB SERVERSMOHSEN BEIGIMOSTAFA ALINAGHI POURSALMAN NAMAVAR

[email protected]

Page 3: Web servers

WHAT IS WEB SERVER?

WEB BROWSER WEB SERVER

NETWORK

FirefoxChrome

SafariOpera

ApacheIIS

NginxGWS

Requestion some thing form web serverMoving request from client to serverGenerating answer for client and sending answerMoving servers answerPresenting servers answer to client

Page 4: Web servers

HISTORY … First time by sir Tim Berners-Lee In CERN (European Organization for Nuclear Research) He wrote two programs:

• a browser called WorldWideWeb• a web server known as CERN httpd

WEB SERVERS DUTY Generating web content for client (HTML , JavaScript ,media file and etc) Running server side script (NSAPI , CGI)

Processing client request Web services

Page 5: Web servers

MOST KNOWN WEB SERVERS

Apache 151,516,152 web site hosted 59.35 percent

IIS 56,723,544 web site hosted 22.22 percent

Nginx 16,910,205 web site hosted 6.62 percent

GWS 14,933,865 web site hosted 5.85 percent

Page 6: Web servers

IIS Features Graphical user interface for server management Compatible with Microsoft products Good performance monitoring features Powerful supports from microsoft Secured at first

IIS Disadvantages It’s not cross platform Crash over request gain Source code is proprietary Hard URL manipulation Low speed Incompatible with php and mySql

Page 7: Web servers

Apache Features Best performance for webserver It’s open source Allows remote administration It’s cross-platform (best performance on Linux) It’s free to download and use Large user community support Core functionality extended by compiled modules Powerful URL manipulation (mod_rewrite)

Apache Disadvantages Console mode Needs more technical knowledge Bad configurations cause bad attack Lack of .net support (mono project)

Page 8: Web servers

URL MANIPULATIONSearch engines URL friendly

Real URL Http://www.example.com/showPost.php?id=45&year=2010&month=5&day=14

SEF URL Http://www.example.com/2010/5/14/45

Change extension

Real URL Http://www.example.com/save.php

Changed URL Http://www.example.com/save.html

RedirectingFirst URL Http://example.com

Redirected URL Http://www.example.net

READ MORE: ‘mod_rewrite’ module

Page 9: Web servers

HOW TO START USING …

Install apache , mySql , php and etc manually

Using apache friendsXAMPPWAMP

Page 10: Web servers

CACHE SERVERS

WEB SERVER WEB SERVER WEB SERVER

ClientClientClientClient

jQuery Library sampleFrom my serverFirst time load: 6.2 s Second time: 2.1 sFrom google server First time load: 0.7 s Second time: 0.3 s

READ MORE : ‘cache control’

Page 11: Web servers

cPanel

Page 12: Web servers

cPanel Preferences

Page 13: Web servers

cPanel Mail

Page 14: Web servers

cPanel Files

Page 15: Web servers

cPanel Logs

Page 16: Web servers

cPanel Domains

Page 17: Web servers

cPanel Databases