1 / 10

Apache WEB Server

Apache WEB Server. Apache WEB Server. Ce este un server de WEB? Serverul ce se afla in spatele World Wide Web Cel mai popular server Comunica cu clienti browser folosind protocolul HTTP ca: Internet Explorer Netscape Communicator Mosaic,. Protocolul HTTP.

Download Presentation

Apache 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. Apache WEB Server

  2. Apache WEB Server Ce este un server de WEB? Serverul ce se afla in spatele World Wide Web Cel mai popular server Comunica cu clienti browser folosind protocolul HTTP ca: Internet Explorer Netscape Communicator Mosaic,

  3. Protocolul HTTP Serverele WEB folosesc Hypertext Transfer Protocol pentru a comunica cu programele client HTTP - Protocol simplu ce standardizeaza cererile si raspunsurile( intre clienti si server) Hypertext permite referinta la alte documente stocate pe acelasi computer sau pe un alt computer aflat in orice parte a lumii

  4. De ce Apache WEB Server? • Freeware • Usor de instalat • Usor de configurat • Versiune precompilata pentru orice fel de platforma • Foarte rapid • Ofera suport pentru autentificarea userilor • Permite implementare “multihomed” si “virtual servers” • Securitae mai buna decat alte servere WEB

  5. Apache 35.68% NCSA 18.25% Netscape Communications 7.25% Netscape Commerce 6.83% CERN 6.22% Microsoft Internet Information Server 5.49% WebSite 3.40% WebSTAR 1.95% Apache SSL US 1.43% Purveyor 1.38% WebSitePro 1.07% Server Brand Market Share

  6. Instalare si configurare Serverul Apache exista in forma precompilata pentru mai multe platforme. In acest caz entru instalare se urmaresc urmatorii pasi: 1. Download httpd-architecture 2. Dezarhivare sursa 3. cd /usr/local/etc/httpd 4. cp src/httpd-linux httpd 5. Chown root.wheel httpd 6. Chmod 755 httpd

  7. Instalare si configurare Instalare folosind codul sursa ofera posibilitatea configurarii modulelor ce se doresc a se introduce in serverul de WEB. In acest caz entru instalare se urmaresc urmatorii pasi: 1. Editare fisier configurare, src/Configuration. 2. Rulare script Configure . 3. make. 4. Make install

  8. Instalare si Configurare Editare httpd.conf Este fisierul ce contine toate directivele de configurare, fisierul de unde se controleaza functionalitatea server-ului. Trebuie sa editati neaparat o parte din aceste directive pntru ca site-ul sa functioneze: ServerAdmim User and Group ServerName ServerRoot DocumentRoot Port

  9. Startare si stopare server httpd [-d ServerRoot] [-f ConfigurationFile] [-x] [-v] [-?] start, stop, restart Scripts chmod 755 start stop restart start #!/bin/sh /usr/local/etc/httpd/httpd -f /usr/local/etc/httpd/conf/httpd.conf stop #!/bin/sh kill 'cat /usr/local/etc/httpd/logs/httpd..pid’ restart #!/bin/sh kill -HUP 'cat /usr/local/etc/httpd/logs/httpd..pid'

  10. Directoare pentru useri Utilizatorii unui sistem isi pot crea site-urile personale. Apache ofera suport prin intermediul directivei UserDir: UserDir ”/home/user/public_html/” Suport pentru directoarele cgi ale userilor: <Directory /home/user/public_html/cgi-bin> AllowOverride None Options ExecCGI </Directory>

More Related