SlideShare ist ein Scribd-Unternehmen logo
1 von 40
Apache 2.0 Conceitos e Projeto de Sistemas Distribuídos e Paralelos Seminário Tecnológico Adriano Machado (adrianoc@dcc.ufmg.br) Tiago Macambira (tmacam@dcc.ufmg.br)
Overview Apache HTTPD Server Project Apache 2.0 – What to expect? Apache 2.0 Web Server Architecture Site Acceleration Using Standard Modules New Features (Authent. and Authorization.) Apache 2.0 Administration Conclusion
Apache HTTPD Server Project ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache HTTPD Server Project ,[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 – What to expect? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 Web Server Architecture ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache 2.0 Web Server Architecture ,[object Object],[object Object],[object Object],[object Object],Apache Web Server Apache Modules Other Cross Platform Applications Apache Portable Runtime (APR) Netware Solaris Linux Windows Others…
Apache 2.0 Web Server Architecture ,[object Object]
Apache 2.0 Web Server Architecture ,[object Object]
Improvements – Using Standard Modules ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mod_Cache ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mod_Cache Example Configuration ,[object Object],[object Object],[object Object],[object Object],LoadModule cache_module modules/mod_cache.nlm <IfModule mod_cache.c>   LoadModule mem_cache_module modules/mod_mem_cache.nlm   <IfModule mod_mem_cache.c>   CacheEnable  mem /   MCacheSize  4096   MCacheMaxObjectCount  100   MCacheMinObjectSize  1   MCacheMaxObjectSize  2048   </IfModule> </IfModule>
Mod_Cache Performance Caching No Caching
Mass Virtual Hosting ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mass Virtual Hosting ,[object Object],[object Object],[object Object],[object Object],[object Object],LoadModule vhost_alias_module modules/vhost.nlm <IfModule mod_vhost_alias.c> UseCanonicalName  Off LogFormat &quot;%V %h %l %u %t amp;quot;%ramp;quot; %s %b&quot; vcommon CustomLog  logs/access_log vcommon VirtualDocumentRoot  SYS:/www/hosts/%0/docs VirtualScriptAlias  SYS:/www/hosts/%0/cgi-bin  </IfModule
Load Balancing with Mod_Proxy ,[object Object],[object Object],[object Object],New features of Mod_Proxy ,[object Object],[object Object],[object Object],Reverse Proxy
Reverse Proxy ,[object Object],[object Object],[object Object],[object Object],Clients Browser Any Web Server Apache Proxy Server Firewall
Reverse Proxy Example ,[object Object],[object Object],[object Object],LoadModule proxy_module modules/proxy.nlm <IfModule mod_proxy.c> LoadModule proxy_http_module modules/proxyhtp.nlm ProxyRequests Off #Reverse proxy to expense reporting web application server ProxyPass /expense/ http://www.expense.com:53080/expense/ ProxyPassReverse /expense/ http://www.expense.com:53080/expense/ #Reverse proxy to my general web application server ProxyPass /webapps/ http://www.webapps.com:53080/webapps/ ProxyPassReverse /webapps/ http://www.webapps.com:53080/webapps/ #Reverse proxy to other applications allow redirects ProxyPass /directapps/ http://www.directapps.com/ </IfModule>
Stardard Log Rotation ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Standard Log Rotation CustomLog &quot;|bin/rotatelogs /var/logs/logfile 86400&quot; common CustomLog &quot;|bin/rotatelogs /var/logs/logfile 5M&quot; common
Rotate Logs Performance Logs Disabled Rotate Logs Default Logging
Authentication and Authorization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Authentication - Mod_Auth_LDAP
Mod_Auth_LDAP Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],LoadModule ldap_module modules/utilldap.nlm  <IfModule util_ldap.c> LoadModule auth_ldap_module modules/authldap.nlm  Alias /secure vol2:/webpages/secure <Directory vol2:/webpages/secure> AuthType Basic AuthName LDAP_Protected_Place AuthLDAPURL  ldap://your.LDAPserver.com/o=ctx? cn require  valid-user </Directory> </IfModule>
Authorization - Mod_eDir ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mod_eDir Remote Directory Example ,[object Object],[object Object],[object Object],[object Object]
Mod_eDir Home Directory Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Anonymous vs. Authenticated Modes ,[object Object],[object Object],[object Object],[object Object],[object Object],Authenticated mode requires a special user object with browse rights to  USER  and  VOLUME  objects
Anonymous Mode – Pros vs. Cons ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Authenticated Mode – Pros vs. Cons ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Apache Web Based Administration ,[object Object],[object Object],[object Object],[object Object]
eDirectory based Configuration ,[object Object],[object Object],[object Object]
Conclusion ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

APACHE WEB SERVER FOR LINUX
APACHE WEB SERVER FOR LINUXAPACHE WEB SERVER FOR LINUX
APACHE WEB SERVER FOR LINUX
webhostingguy
 
Apache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With ApacheApache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With Apache
Wildan Maulana
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarni
webhostingguy
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
webhostingguy
 

Was ist angesagt? (18)

APACHE WEB SERVER FOR LINUX
APACHE WEB SERVER FOR LINUXAPACHE WEB SERVER FOR LINUX
APACHE WEB SERVER FOR LINUX
 
Apache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With ApacheApache2 BootCamp : Getting Started With Apache
Apache2 BootCamp : Getting Started With Apache
 
Apache web server
Apache web serverApache web server
Apache web server
 
Apache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya KulkarniApache Web Server Architecture Chaitanya Kulkarni
Apache Web Server Architecture Chaitanya Kulkarni
 
are available here
are available hereare available here
are available here
 
Information on PHP Handlers
Information on PHP HandlersInformation on PHP Handlers
Information on PHP Handlers
 
Useful Terms Related to cPanel & WHM
Useful Terms Related to cPanel & WHMUseful Terms Related to cPanel & WHM
Useful Terms Related to cPanel & WHM
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Apache web server
Apache web serverApache web server
Apache web server
 
25 Apache Performance Tips
25 Apache Performance Tips25 Apache Performance Tips
25 Apache Performance Tips
 
Web Server(Apache),
Web Server(Apache), Web Server(Apache),
Web Server(Apache),
 
Tomcat Server
Tomcat ServerTomcat Server
Tomcat Server
 
Apache error
Apache errorApache error
Apache error
 
Servicemix4.5.0
Servicemix4.5.0Servicemix4.5.0
Servicemix4.5.0
 
Meeting 9 samba
Meeting 9   sambaMeeting 9   samba
Meeting 9 samba
 
An introduction to weblogic console
An introduction to weblogic consoleAn introduction to weblogic console
An introduction to weblogic console
 
Web server administration
Web server administrationWeb server administration
Web server administration
 
How to monitor and manage Apache Tomcat
How to monitor and manage Apache TomcatHow to monitor and manage Apache Tomcat
How to monitor and manage Apache Tomcat
 

Ähnlich wie apresentacao_apache2..

Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
webhostingguy
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
webhostingguy
 
APACHE
APACHEAPACHE
APACHE
ARJUN
 
Apache installation and configurations
Apache installation and configurationsApache installation and configurations
Apache installation and configurations
Nikhil Jain
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
Arun Janarthanan
 
Apache
ApacheApache
Apache
jtpond
 
How to Use NDS eDirectory to Secure Apache Web Server for NetWare
How to Use NDS eDirectory to Secure Apache Web Server for NetWareHow to Use NDS eDirectory to Secure Apache Web Server for NetWare
How to Use NDS eDirectory to Secure Apache Web Server for NetWare
webhostingguy
 

Ähnlich wie apresentacao_apache2.. (20)

Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Apache
ApacheApache
Apache
 
cache concepts and varnish-cache
cache concepts and varnish-cachecache concepts and varnish-cache
cache concepts and varnish-cache
 
Durkee apache 2009_v7
Durkee apache 2009_v7Durkee apache 2009_v7
Durkee apache 2009_v7
 
APACHE
APACHEAPACHE
APACHE
 
Apache installation and configurations
Apache installation and configurationsApache installation and configurations
Apache installation and configurations
 
AtoZ about TYPO3 v8 CMS
AtoZ about TYPO3 v8 CMSAtoZ about TYPO3 v8 CMS
AtoZ about TYPO3 v8 CMS
 
Apache Web Server Setup 3
Apache Web Server Setup 3Apache Web Server Setup 3
Apache Web Server Setup 3
 
wordpress-performance-presentation
wordpress-performance-presentationwordpress-performance-presentation
wordpress-performance-presentation
 
Introduction to the WSO2 Identity Server &Contributing to an OS Project
Introduction to the WSO2 Identity Server &Contributing to an OS ProjectIntroduction to the WSO2 Identity Server &Contributing to an OS Project
Introduction to the WSO2 Identity Server &Contributing to an OS Project
 
Apache Presentation
Apache PresentationApache Presentation
Apache Presentation
 
Presentation (PPT)
Presentation (PPT)Presentation (PPT)
Presentation (PPT)
 
Php myadmin
Php myadminPhp myadmin
Php myadmin
 
Apache
ApacheApache
Apache
 
sveltekit-en.pdf
sveltekit-en.pdfsveltekit-en.pdf
sveltekit-en.pdf
 
Hello meet MODx Revolution
Hello meet MODx RevolutionHello meet MODx Revolution
Hello meet MODx Revolution
 
How to Use NDS eDirectory to Secure Apache Web Server for NetWare
How to Use NDS eDirectory to Secure Apache Web Server for NetWareHow to Use NDS eDirectory to Secure Apache Web Server for NetWare
How to Use NDS eDirectory to Secure Apache Web Server for NetWare
 
Sun Web Server Brief
Sun Web Server BriefSun Web Server Brief
Sun Web Server Brief
 

Mehr von webhostingguy

Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
webhostingguy
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
webhostingguy
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3
webhostingguy
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
webhostingguy
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidation
webhostingguy
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreement
webhostingguy
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
webhostingguy
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
webhostingguy
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructure
webhostingguy
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.ppt
webhostingguy
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
webhostingguy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandisers
webhostingguy
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Products
webhostingguy
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mb
webhostingguy
 

Mehr von webhostingguy (20)

File Upload
File UploadFile Upload
File Upload
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidation
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreement
 
Notes8
Notes8Notes8
Notes8
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructure
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.ppt
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandisers
 
OLUG_xen.ppt
OLUG_xen.pptOLUG_xen.ppt
OLUG_xen.ppt
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Products
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mb
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 

apresentacao_apache2..

  • 1. Apache 2.0 Conceitos e Projeto de Sistemas Distribuídos e Paralelos Seminário Tecnológico Adriano Machado (adrianoc@dcc.ufmg.br) Tiago Macambira (tmacam@dcc.ufmg.br)
  • 2. Overview Apache HTTPD Server Project Apache 2.0 – What to expect? Apache 2.0 Web Server Architecture Site Acceleration Using Standard Modules New Features (Authent. and Authorization.) Apache 2.0 Administration Conclusion
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28. Rotate Logs Performance Logs Disabled Rotate Logs Default Logging
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.