Presentation is loading. Please wait.

Presentation is loading. Please wait.

Apache Web Server WWW.Apache.org.

Similar presentations


Presentation on theme: "Apache Web Server WWW.Apache.org."— Presentation transcript:

1 Apache Web Server

2 Apache Overview A Patchy Web server--put together over time by the Apache group, with contributions from numerous individuals. Based on the NCSA Web daemon. NCSA used government funds, so their source code was available, as is Apache’s. Free, open-source, as is LINUX

3 Apache Overview - 2 Configured with Text files Dependable
Available for numerous platforms, even Windows! But windows is not as dependable. Over 50% of all Web sites are served with Apache, including many of the CSUS’s!

4 Configuring: <Directive Container [variables]>
Directive Value #Comment </Directive Container> Global Directives #outside of container #Comments Comments all over #about a gross (144) directives possible, but not needed #Directive Containers indicate Scope

5 Config Files TEXT files you edit Httpd.conf
Main file the server starts with Srm.conf Defines where documents are found Access.conf Access Information Mimes.type (rarely edited) Helps the server and client associate files with the routines to properly read them.

6 Httpd.conf Configuration file Main one First one
May be configured as the only one

7 Directives Directory Containers dictate Scope
< Directory abs/path/> <Files *.*, *hello*> <Location /actual/path/on/server/> <VirtualHost mydomain.com>

8 Common Directives Disable Method: Disable GET ErrorUrl:
ErrorUrl 500 my_error500.html Hostname boysenberry Port 80 ScriptTimeOut 5 mins DocumentRoot /usr/local/webdocs ServerRoot /usr/local/web/apache

9 Common Directives - 2 ServerType standAlone|inetd HostNameLookups off
User Nobody ErrorLog logs/error_log TransferLog logs/access_log PidFile logs/httpd.pid Timeout 300 KeepAlive On KeepAliveTimeout 15


Download ppt "Apache Web Server WWW.Apache.org."

Similar presentations


Ads by Google