Presentation is loading. Please wait.

Presentation is loading. Please wait.

Apache Configuration. Application Install IBM HTTP Server is Apache.

Similar presentations


Presentation on theme: "Apache Configuration. Application Install IBM HTTP Server is Apache."— Presentation transcript:

1 Apache Configuration

2 Application Install

3 IBM HTTP Server is Apache

4 Follow prompts until time to configure ports

5 Configure Ports

6 Configure Security for Windows Service

7 Bottom of Security Screen

8 Configure Admin Server Authentication

9 Some of Plugin Configuration

10 Configuration File Location

11 # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. #

12 # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "D:/IBM" will be interpreted by the # server as "D:/IBM/logs/foo.log". # # NOTE: Where filenames are specified, you must use forward slashes # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). # If a drive letter is omitted, the drive on which Apache.exe is located # will be used by default. It is recommended that you always supply # an explicit drive letter in absolute paths, however, to avoid # confusion. #

13 ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation (available # at ); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot "D:/IBM"

14 # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile logs/httpd.pid # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100

15 ## Server-Pool Size Regulation (MPM specific) ## # # Windows NT MPM Configuration # ThreadLimit: max setting allowed for ThreadsPerChild. # ThreadsPerChild: constant number of worker threads in the server process # MaxRequestsPerChild: maximum number of requests a server process serves # ThreadLimit 2048 ThreadsPerChild 250 MaxRequestsPerChild 0

16 Loading Apache Modules # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule access_module modules/mod_access.so LoadModule actions_module modules/mod_actions.so

17 Listen: Ports # Listen: Allows you to bind Apache to specific IP addresses and # ports. See also the directive. # # Listen directives should be qualified with either an IPv4 or IPv6 address. # Use 0.0.0.0 for the default IPv4 address and [::] for the default IPv6 address. # e.g. Uncomment the following line to Listen on IPv6 Port 444 on Windows XP or 2003 # Listen [::]:444 # Use Listen 0.0.0.0:444 or AfpaPort 444 if you also wish to accept connections over IPv4. # Windows IPv6 networking must be configured before enabling IPv6 Listens.

18 ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. #

19 Example NameVirtualHost 10.42.x.x:80 NameVirtualHost 10.42.x.x:444 #NameVirtualHost 10.42.x.x:446

20 #ServerName websrd1.dmb.state.mi.us:446 ServerName websrdv1.dmb.state.mi.us:446 ServerPath H:\DevIHS6 FileETag none SSLEnable SSLCipherSpec 3A SSLCipherSpec 35 SSLCipherSpec 34 SSLCipherSpec 35b #SSLV2Timeout 10 SSLV3Timeout 10000 Keyfile "H:\DevIHS6\ssl\keydev.kdb" SSLStashFile "H:\DevIHS6\ssl\keydev.sth" DocumentRoot "H:\DevIHS6\htdocs\defaultsite" RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule.* - [F] SSLDisable

21 Load Module LoadModule was_ap20_module "H:\DevIHS6\plugins\bin\mod_was_ap20_htt p.dll" WebSpherePluginConfig "H:\DevIHS6\plugins\config\devIHS6\plugin- cfg.xml"

22 Plug-in Location

23 Plug-in Configuration <Config ASDisableNagle="false" IISDisableNagle="false" IgnoreDNSFailures="false" RefreshInterval="60" ResponseChunkSize="64" AcceptAllContent="false" IISPluginPriority="High" FIPSEnable="false" AppServerPortPreference="HostHeader" VHostMatchingCompat="false" ChunkedResponse="false">

24 <ServerCluster Name="server1_Cluster" CloneSeparatorChange="false" LoadBalance="Round Robin" PostBufferSize="64" IgnoreAffinityRequests="true" PostSizeLimit="-1" RemoveSpecialHeaders="true" RetryInterval="60"> <Server Name="server1" ConnectTimeout="0" ExtendedHandshake="false" ServerIOTimeout="0" LoadBalanceWeight="1" MaxConnections="-1" WaitForContinue="false">


Download ppt "Apache Configuration. Application Install IBM HTTP Server is Apache."

Similar presentations


Ads by Google