Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.18 KB | None | 0 0
  1. #
  2. # This is the main IBM HTTP server configuration file. It contains the
  3. # configuration directives that give the server its instructions.
  4. # See <URL:http://publib.boulder.ibm.com/httpserv/manual70/> for detailed
  5. # information about the Apache directives.
  6. #
  7. # The instructions provided in this configuration file are only hints or
  8. # reminders. Consult the online docs for definitive information.
  9. #
  10. # The configuration directives are grouped into three basic sections:
  11. # 1. Directives that control the operation of the web server process as a
  12. # whole (the 'global environment').
  13. # 2. Directives that define the parameters of the 'main' or 'default' server,
  14. # which responds to requests that aren't handled by a virtual host.
  15. # These directives also provide default values for the settings
  16. # of all virtual hosts.
  17. # 3. Settings for virtual hosts, which allow Web requests to be sent to
  18. # different IP addresses or hostnames and have them handled by the
  19. # same web server process.
  20. #
  21. # Configuration and logfile names: If the filenames you specify for many
  22. # of the server's control files begin with "/" (or "drive:/" for Win32), the
  23. # server will use that explicit path. If the filenames do *not* begin
  24. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
  25. # with ServerRoot set to "C:/Program Files/IBM/HTTPServer" will be interpreted by the
  26. # server as "C:/Program Files/IBM/HTTPServer/logs/foo.log".
  27. #
  28. # NOTE: Where filenames are specified, you must use forward slashes
  29. # instead of backslashes (e.g., "c:/IHS" instead of "c:\IHS").
  30. # If a drive letter is omitted, the drive on which HTTPD.EXE is located
  31. # will be used by default. It is recommended that you always supply
  32. # an explicit drive letter in absolute paths, however, to avoid
  33. # confusion.
  34. #
  35.  
  36. ### Section 1: Global Environment
  37. #
  38. # The directives in this section affect the overall operation of IBM HTTP
  39. # Server, such as the number of concurrent requests it can handle or where
  40. # it can find its configuration files.
  41. #
  42.  
  43. #
  44. # ServerRoot: The top of the directory tree under which the server's
  45. # configuration, error, and log files are kept.
  46. #
  47. # Do NOT add a slash at the end of the directory path.
  48. #
  49. ServerRoot "C:/Program Files/IBM/HTTPServer"
  50.  
  51. #
  52. # PidFile: The file in which the server should record its process
  53. # identification number when it starts.
  54. #
  55. PidFile logs/httpd.pid
  56.  
  57. #
  58. # Timeout: The number of seconds before receives and sends time out.
  59. #
  60. Timeout 300
  61.  
  62. #
  63. # KeepAlive: Whether or not to allow persistent connections (more than
  64. # one request per connection). Set to "Off" to deactivate.
  65. #
  66. KeepAlive On
  67.  
  68. #
  69. # MaxKeepAliveRequests: The maximum number of requests to allow
  70. # during a persistent connection. Set to 0 to allow an unlimited amount.
  71. # We recommend you leave this number high, for maximum performance.
  72. #
  73. MaxKeepAliveRequests 100
  74.  
  75. #
  76. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  77. # same client on the same connection.
  78. #
  79. KeepAliveTimeout 10
  80.  
  81. ##
  82. ## Server-Pool Size Regulation (MPM specific)
  83. ##
  84.  
  85. # Windows MPM
  86. #
  87. # For tuning recommendations, refer to <NEWINFOCENTERURL>.
  88. #
  89. # ThreadLimit: maximum setting of ThreadsPerChild
  90. # ThreadsPerChild: constant number of worker threads in each server process
  91. # MaxRequestsPerChild: maximum number of requests a server process serves
  92. <IfModule mpm_winnt.c>
  93. ThreadLimit 2400
  94. ThreadsPerChild 2400
  95. MaxRequestsPerChild 0
  96. </IfModule>
  97.  
  98. #
  99. # Listen: Allows you to bind the web server to specific IP addresses
  100. # and/or ports, in addition to the default. See also the <VirtualHost>
  101. # directive.
  102. #
  103. # Listen directives must be qualified with either an IPv4 or IPv6 address.
  104. # Use 0.0.0.0 for the default IPv4 address and [::] for the default IPv6
  105. # address.
  106. #
  107. # IPv4 support:
  108. Listen *:443
  109. Listen *:80
  110. # Uncomment the following line for IPv6 support on Windows XP or Windows
  111. # 2003 or later. Windows IPv6 networking must be configured first.
  112. # Listen [::]:80
  113.  
  114. #
  115. # Use Win32DisableAcceptEx to downgrade to use winsock 1.1 network APIs.
  116. # Note: You cannot use Win32DisableAcceptEx if mod_afpa_cache.so is loaded.
  117. #
  118. # Win32DisableAcceptEx
  119.  
  120. #
  121. # Dynamic Shared Object (DSO) Support
  122. #
  123. # To be able to use the functionality of a module which was built as a DSO you
  124. # have to place corresponding `LoadModule' lines at this location so the
  125. # directives contained in it are actually available _before_ they are used.
  126. # Statically compiled modules (those listed by `httpd -l') do not need
  127. # to be loaded here.
  128. #
  129. # Example:
  130. # LoadModule foo_module modules/mod_foo.so
  131. LoadModule authz_host_module modules/mod_authz_host.so
  132. LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
  133. LoadModule auth_basic_module modules/mod_auth_basic.so
  134. LoadModule authn_file_module modules/mod_authn_file.so
  135. LoadModule authz_user_module modules/mod_authz_user.so
  136. #LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  137. LoadModule include_module modules/mod_include.so
  138. LoadModule log_config_module modules/mod_log_config.so
  139. LoadModule env_module modules/mod_env.so
  140. #LoadModule mime_magic_module modules/mod_mime_magic.so
  141. #LoadModule expires_module modules/mod_expires.so
  142. #LoadModule headers_module modules/mod_headers.so
  143. LoadModule unique_id_module modules/mod_unique_id.so
  144. LoadModule setenvif_module modules/mod_setenvif.so
  145. #LoadModule proxy_module modules/mod_proxy.so
  146. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
  147. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  148. #LoadModule proxy_http_module modules/mod_proxy_http.so
  149. LoadModule mime_module modules/mod_mime.so
  150. #LoadModule dav_module modules/mod_dav.so
  151. #LoadModule dav_fs_module modules/mod_dav_fs.so
  152. LoadModule autoindex_module modules/mod_autoindex.so
  153. #LoadModule asis_module modules/mod_asis.so
  154. #LoadModule info_module modules/mod_info.so
  155. LoadModule cgi_module modules/mod_cgi.so
  156. LoadModule dir_module modules/mod_dir.so
  157. LoadModule actions_module modules/mod_actions.so
  158. #LoadModule speling_module modules/mod_speling.so
  159. #LoadModule userdir_module modules/mod_userdir.so
  160. LoadModule alias_module modules/mod_alias.so
  161. LoadModule rewrite_module modules/mod_rewrite.so
  162. #LoadModule deflate_module modules/mod_deflate.so
  163.  
  164. #
  165. # ExtendedStatus controls whether the web server will generate "full"
  166. # status information (ExtendedStatus On) or just basic information
  167. # (ExtendedStatus Off) when the server status page is formatted or
  168. # when IBM HTTP Server diagnostic modules report information. The
  169. # default is Off.
  170. #
  171. LoadModule status_module modules/mod_status.so
  172. <IfModule mod_status.c>
  173. ExtendedStatus On
  174. </IfModule>
  175.  
  176. ### Section 2: 'Main' server configuration
  177. #
  178. # The directives in this section set up the values used by the 'main'
  179. # server, which responds to any requests that aren't handled by a
  180. # <VirtualHost> definition. These values also provide defaults for
  181. # any <VirtualHost> containers you may define later in the file.
  182. #
  183. # All of these directives may appear inside <VirtualHost> containers,
  184. # in which case these default settings will be overridden for the
  185. # virtual host being defined.
  186. #
  187.  
  188. #
  189. # ServerAdmin: Your address, where problems with the server should be
  190. # e-mailed. This address appears on some server-generated pages, such
  191. # as error documents. e.g. admin@your-domain.com
  192. #
  193. ServerAdmin you@your.address
  194.  
  195. #
  196. # ServerName gives the name and port that the server uses to identify itself.
  197. # This can often be determined automatically, but we recommend you specify
  198. # it explicitly to prevent problems during startup.
  199. #
  200. # If this is not set to valid DNS name for your host, server-generated
  201. # redirections will not work. See also the UseCanonicalName directive.
  202. #
  203. # If your host doesn't have a registered DNS name, enter its IP address here.
  204. # You will have to access it by its address anyway, and this will make
  205. # redirections work in a sensible way.
  206. #
  207. ServerName helpdesk.unicreditgroup.ba
  208.  
  209. #
  210. # UseCanonicalName: Determines how the web server constructs self-
  211. # referencing URLs and the SERVER_NAME and SERVER_PORT variables.
  212. # When set "Off", the web server will use the Hostname and Port supplied
  213. # by the client. When set "On", it will use the value of the ServerName
  214. # directive.
  215. #
  216. UseCanonicalName Off
  217.  
  218. #
  219. # DocumentRoot: The directory out of which you will serve your
  220. # documents. By default, all requests are taken from this directory, but
  221. # symbolic links and aliases may be used to point to other locations.
  222. #
  223. #DocumentRoot "C:/Program Files/IBM/HTTPServer/htdocs"
  224. DocumentRoot "C:/DOCLINKS"
  225.  
  226. #
  227. # Each directory to which the web server has access can be configured
  228. # with respect to which services and features are allowed and/or disabled
  229. # in that directory (and its subdirectories).
  230. #
  231. # First, we configure the "default" to be a very restrictive set of
  232. # features.
  233. #
  234. <Directory />
  235. Options FollowSymLinks
  236. AllowOverride None
  237. FileETag All -INode
  238. </Directory>
  239.  
  240. #
  241. # Note that from this point forward you must specifically allow
  242. # particular features to be enabled - so if something's not working as
  243. # you might expect, make sure that you have specifically enabled it
  244. # below.
  245. #
  246.  
  247. #
  248. # This should be changed to whatever you set DocumentRoot to.
  249. #
  250. #<Directory "C:/Program Files/IBM/HTTPServer/htdocs">
  251. <Directory "C:/DOCLINKS">
  252.  
  253. #
  254. # Possible values for the Options directive are "None", "All",
  255. # or any combination of:
  256. # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI Multiviews
  257. #
  258. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  259. # doesn't give it to you.
  260. #
  261. # The Options directive is both complicated and important. Please see
  262. # http://publib.boulder.ibm.com/httpserv/manual70/mod/core.html#options
  263. # for more information.
  264. #
  265. # Options FollowSymLinks
  266.  
  267. Options -Indexes FollowSymLinks
  268.  
  269.  
  270. #
  271. # AllowOverride controls what directives may be placed in .htaccess files.
  272. # It can be "All", "None", or any combination of the keywords:
  273. # Options FileInfo AuthConfig Limit
  274. #
  275. AllowOverride None
  276.  
  277. #
  278. # Controls who can get stuff from this server.
  279. #
  280. Order allow,deny
  281. Allow from all
  282.  
  283. </Directory>
  284.  
  285. #
  286. # UserDir: The name of the directory that is appended onto a user's home
  287. # directory if a ~user request is received.
  288. #
  289. <IfModule mod_userdir.c>
  290. UserDir "My Documents/My Website"
  291.  
  292. #
  293. # Control access to UserDir directories. The following is an example
  294. # for a site where these directories are restricted to read-only.
  295. #
  296. # You must correct the path for the root to match your system's configured
  297. # user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website"
  298. # or whichever, as appropriate.
  299. #
  300. #<Directory "C:/Documents and Settings/*/My Documents/My Website">
  301. # AllowOverride FileInfo AuthConfig Limit Indexes
  302. # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  303. # <Limit GET POST OPTIONS PROPFIND>
  304. # Order allow,deny
  305. # Allow from all
  306. # </Limit>
  307. # <LimitExcept GET POST OPTIONS PROPFIND>
  308. # Order deny,allow
  309. # Deny from all
  310. # </LimitExcept>
  311. #</Directory>
  312. </IfModule>
  313.  
  314. #
  315. # DirectoryIndex: sets the file that the web server will serve if a
  316. # directory is requested.
  317. #
  318. # The index.html.var file (a type-map) is used to deliver content-
  319. # negotiated documents. The MultiViews Option can be used for the
  320. # same purpose, but it is much slower.
  321. #
  322. DirectoryIndex index.html index.html.var
  323.  
  324. #
  325. # AccessFileName: The name of the file to look for in each directory
  326. # for additional configuration directives. See also the AllowOverride
  327. # directive.
  328. #
  329. AccessFileName .htaccess
  330.  
  331. #
  332. # The following lines prevent .htaccess and .htpasswd files from being
  333. # viewed by Web clients.
  334. #
  335. <Files ~ "^\.ht">
  336. Order allow,deny
  337. Deny from all
  338. </Files>
  339.  
  340. #
  341. # TypesConfig describes where the mime.types file (or equivalent) is
  342. # to be found.
  343. #
  344. TypesConfig conf/mime.types
  345.  
  346. #
  347. # DefaultType is the default MIME type the server will use for a document
  348. # if it cannot otherwise determine one, such as from filename extensions.
  349. # If your server contains mostly text or HTML documents, "text/plain" is
  350. # a good value. If most of your content is binary, such as applications
  351. # or images, you may want to use "application/octet-stream" instead to
  352. # keep browsers from trying to display binary files as though they are
  353. # text.
  354. #
  355. #DefaultType None
  356.  
  357. DefaultType text/plain
  358.  
  359. #
  360. # The mod_mime_magic module allows the server to use various hints from the
  361. # contents of the file itself to determine its type. The MIMEMagicFile
  362. # directive tells the module where the hint definitions are located.
  363. #
  364. <IfModule mod_mime_magic.c>
  365. MIMEMagicFile conf/magic
  366. </IfModule>
  367.  
  368. #
  369. # HostnameLookups: Log the names of clients or just their IP addresses
  370. # e.g., www.apache.org (on) or 204.62.129.132 (off).
  371. # The default is off because it'd be overall better for the net if people
  372. # had to knowingly turn this feature on, since enabling it means that
  373. # each client request will result in AT LEAST one lookup request to the
  374. # nameserver.
  375. #
  376. HostnameLookups Off
  377.  
  378. #
  379. # EnableMMAP: Control whether memory-mapping is used to deliver
  380. # files (assuming that the underlying OS supports it).
  381. # The default is on; turn this off if you serve from NFS-mounted
  382. # filesystems. On some systems, turning it off (regardless of
  383. # filesystem) can improve performance; for details, please see
  384. # http://publib.boulder.ibm.com/httpserv/manual70/mod/core.html#enablemmap
  385. #
  386. # EnableMMAP off
  387.  
  388. #
  389. # EnableSendfile: Control whether the sendfile kernel support is
  390. # used to deliver files (assuming that the OS supports it).
  391. # The default is on; turn this off if you serve from NFS-mounted
  392. # filesystems. Please see
  393. # http://publib.boulder.ibm.com/httpserv/manual70/mod/core.html#enablesendfile
  394. #
  395. # EnableSendfile off
  396.  
  397. #
  398. # ErrorLog: The location of the error log file.
  399. # If you do not specify an ErrorLog directive within a <VirtualHost>
  400. # container, error messages relating to that virtual host will be
  401. # logged here. If you *do* define an error logfile for a <VirtualHost>
  402. # container, that host's errors will be logged there and not here.
  403. #
  404. ErrorLog logs/error.log
  405.  
  406. #
  407. # LogLevel: Control the number of messages logged to the error log.
  408. # Possible values include: debug, info, notice, warn, error, crit,
  409. # alert, emerg.
  410. #
  411. LogLevel warn
  412.  
  413. #
  414. # The following directives define some format nicknames for use with
  415. # a CustomLog directive (see below).
  416. #
  417. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  418. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  419. LogFormat "%{Referer}i -> %U" referer
  420. LogFormat "%{User-agent}i" agent
  421.  
  422. #
  423. # The location and format of the access logfile (Common Logfile Format).
  424. # If you do not define any access logfiles within a <VirtualHost>
  425. # container, they will be logged here. Contrariwise, if you *do*
  426. # define per-<VirtualHost> access logfiles, transactions will be
  427. # logged therein and *not* in this file.
  428. #
  429. CustomLog logs/access.log common
  430.  
  431. #
  432. # If you would like to have agent and referer logfiles, uncomment the
  433. # following directives.
  434. #
  435. #CustomLog logs/referer.log referer
  436. #CustomLog logs/agent.log agent
  437.  
  438. #
  439. # If you prefer a single logfile with access, agent, and referer information
  440. # (Combined Logfile Format) you can use the following directive.
  441. #
  442. #CustomLog logs/access.log combined
  443.  
  444. #
  445. # AddServerHeader
  446. # This directive provides a means to enable or disable ServerHeader values.
  447. # The default value is "On". This provides a server header according to the
  448. # values specified in the ServerTokens and ServerSignature directives.
  449. # Setting this directive to "Off" results in no server header information
  450. # being returned to clients.
  451. # Set to one of: On | Off
  452. #
  453. #AddServerHeader Off
  454.  
  455. #
  456. # ServerTokens
  457. # This directive configures what you return as the Server HTTP response
  458. # Header. The built-in default is 'Full' which sends information about
  459. # the OS-type and compiled in modules. The recommended value is 'Prod'
  460. # which sends the least information.
  461. # Set to one of: Full | OS | Minor | Minimal | Major | Prod
  462. # where Full conveys the most information, and Prod the least.
  463. #
  464. ServerTokens Prod
  465.  
  466. #
  467. # Optionally add a line containing the server version and virtual host
  468. # name to server-generated pages (internal error documents, FTP directory
  469. # listings, mod_status and mod_info output etc., but not CGI generated
  470. # documents or custom error documents).
  471. # Set to "EMail" to also include a mailto: link to the ServerAdmin.
  472. # Set to one of: On | Off | EMail
  473. #
  474. ServerSignature On
  475.  
  476. #
  477. # Aliases: Add here as many aliases as you need (with no limit). The format is
  478. # Alias fakename realname
  479. #
  480. # Note that if you include a trailing / on fakename then the server will
  481. # require it to be present in the URL. So "/icons" isn't aliased in this
  482. # example, only "/icons/". If the fakename is slash-terminated, then the
  483. # realname must also be slash terminated, and if the fakename omits the
  484. # trailing slash, the realname must also omit it.
  485. #
  486. # We include the /icons/ alias for FancyIndexed directory listings. If ysou
  487. # do not use FancyIndexing, you may comment this out.
  488. #
  489. Alias /icons/ "C:/Program Files/IBM/HTTPServer/icons/"
  490.  
  491. <Directory "C:/Program Files/IBM/HTTPServer/icons">
  492. Options MultiViews
  493. AllowOverride None
  494. Order allow,deny
  495. Allow from all
  496. </Directory>
  497.  
  498. #
  499. # ScriptAlias: This controls which directories contain server scripts.
  500. # ScriptAliases are essentially the same as Aliases, except that
  501. # documents in the realname directory are treated as applications and
  502. # run by the server when requested rather than as documents sent to the client.
  503. # The same rules about trailing "/" apply to ScriptAlias directives as to
  504. # Alias.
  505. #
  506. ScriptAlias /cgi-bin/ "C:/Program Files/IBM/HTTPServer/cgi-bin/"
  507.  
  508. #
  509. # "C:/Program Files/IBM/HTTPServer/cgi-bin" should be changed to whatever your ScriptAliased
  510. # CGI directory exists, if you have that configured.
  511. #
  512. <Directory "C:/Program Files/IBM/HTTPServer/cgi-bin">
  513. AllowOverride None
  514. Options None
  515. Order allow,deny
  516. Allow from all
  517. </Directory>
  518.  
  519. #
  520. # Redirect allows you to tell clients about documents which used to exist in
  521. # your server's namespace, but do not anymore. This allows you to tell the
  522. # clients where to look for the relocated document.
  523. # Example:
  524. # Redirect permanent /foo http://www.example.com/bar
  525.  
  526. #
  527. # Directives controlling the display of server-generated directory listings.
  528. #
  529.  
  530. #
  531. # IndexOptions: Controls the appearance of server-generated directory
  532. # listings.
  533. #
  534. IndexOptions FancyIndexing VersionSort
  535.  
  536. #
  537. # AddIcon* directives tell the server which icon to show for different
  538. # files or filename extensions. These are only displayed for
  539. # FancyIndexed directories.
  540. #
  541. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  542.  
  543. AddIconByType (TXT,/icons/text.gif) text/*
  544. AddIconByType (IMG,/icons/image2.gif) image/*
  545. AddIconByType (SND,/icons/sound2.gif) audio/*
  546. AddIconByType (VID,/icons/movie.gif) video/*
  547.  
  548. AddIcon /icons/binary.gif .bin .exe
  549. AddIcon /icons/binhex.gif .hqx
  550. AddIcon /icons/tar.gif .tar
  551. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  552. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  553. AddIcon /icons/a.gif .ps .ai .eps
  554. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  555. AddIcon /icons/text.gif .txt
  556. AddIcon /icons/c.gif .c
  557. AddIcon /icons/p.gif .pl .py
  558. AddIcon /icons/f.gif .for
  559. AddIcon /icons/dvi.gif .dvi
  560. AddIcon /icons/uuencoded.gif .uu
  561. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  562. AddIcon /icons/tex.gif .tex
  563. AddIcon /icons/bomb.gif core
  564.  
  565. AddIcon /icons/back.gif ..
  566. AddIcon /icons/hand.right.gif README
  567. AddIcon /icons/folder.gif ^^DIRECTORY^^
  568. AddIcon /icons/blank.gif ^^BLANKICON^^
  569.  
  570. #
  571. # DefaultIcon is which icon to show for files which do not have an icon
  572. # explicitly set.
  573. #
  574. DefaultIcon /icons/unknown.gif
  575.  
  576. #
  577. # AddDescription allows you to place a short description after a file in
  578. # server-generated indexes. These are only displayed for FancyIndexed
  579. # directories.
  580. # Format: AddDescription "description" filename
  581. #
  582. #AddDescription "GZIP compressed document" .gz
  583. #AddDescription "tar archive" .tar
  584. #AddDescription "GZIP compressed tar archive" .tgz
  585.  
  586. #
  587. # ReadmeName is the name of the README file the server will look for by
  588. # default, and append to directory listings.
  589. #
  590. # HeaderName is the name of a file which should be prepended to
  591. # directory indexes.
  592. ReadmeName README.html
  593. HeaderName HEADER.html
  594.  
  595. #
  596. # IndexIgnore is a set of filenames which directory indexing should ignore
  597. # and not include in the listing. Shell-style wildcarding is permitted.
  598. #
  599. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  600.  
  601. #
  602. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  603. # information on the fly. Note: Not all browsers support this.
  604. # Despite the name similarity, the following Add* directives have nothing
  605. # to do with the FancyIndexing customization directives above.
  606. #
  607. AddEncoding x-compress Z
  608. AddEncoding x-gzip gz tgz
  609.  
  610. #
  611. # AddType allows you to add to or override the MIME configuration
  612. # file mime.types for specific file types.
  613. #
  614. AddType application/x-tar .tgz
  615. AddType image/x-icon .ico
  616.  
  617. #
  618. # AddHandler allows you to map certain file extensions to "handlers":
  619. # actions unrelated to filetype. These can be either built into the server
  620. # or added with the Action directive (see below)
  621. #
  622. # To use CGI scripts outside of ScriptAliased directories:
  623. # (You will also need to add "ExecCGI" to the "Options" directive.)
  624. #
  625. #AddHandler cgi-script .cgi
  626.  
  627. #
  628. # For files that include their own HTTP headers:
  629. #
  630. #AddHandler send-as-is asis
  631.  
  632. #
  633. # For server-parsed imagemap files:
  634. #
  635. #AddHandler imap-file map
  636.  
  637. #
  638. # For type maps (negotiated resources):
  639. #
  640. #AddHandler type-map var
  641.  
  642. #
  643. # Filters allow you to process content before it is sent to the client.
  644. #
  645. # To parse .shtml files for server-side includes (SSI):
  646. # (You will also need to add "Includes" to the "Options" directive.)
  647. #
  648. #AddType text/html .shtml
  649. #AddOutputFilter INCLUDES .shtml
  650.  
  651. #
  652. # Action lets you define media types that will execute a script whenever
  653. # a matching file is called. This eliminates the need for repeated URL
  654. # pathnames for oft-used CGI file processors.
  655. # Format: Action media/type /cgi-script/location
  656. # Format: Action handler-name /cgi-script/location
  657. #
  658.  
  659. #
  660. # Customizable error responses come in three flavors:
  661. # 1) plain text 2) local redirects 3) external redirects
  662. #
  663. # Some examples:
  664. #ErrorDocument 500 "The server made a boo boo."
  665. #ErrorDocument 404 /missing.html
  666. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  667. #ErrorDocument 402 http://www.example.com/subscription_info.html
  668. #
  669.  
  670. #
  671. # Putting this all together, we can internationalize error responses.
  672. #
  673. # We use Alias to redirect any /error/HTTP_<error>.html.var response to
  674. # our collection of by-error message multi-language collections. We use
  675. # includes to substitute the appropriate text.
  676. #
  677. # You can modify the messages' appearance without changing any of the
  678. # default HTTP_<error>.html.var files by adding the line:
  679. #
  680. # Alias /error/include/ "/your/include/path/"
  681. #
  682. # which allows you to create your own set of files by starting with the
  683. # C:/Program Files/IBM/HTTPServer/error/include/ files and copying them to /your/include/path/,
  684. # even on a per-VirtualHost basis. The default include files will display
  685. # your IBM HTTP Server version number and your ServerAdmin email address
  686. # regardless of the setting of ServerSignature.
  687. #
  688. # The internationalized error documents require mod_alias, mod_include
  689. # and mod_negotiation. To activate them, uncomment the following 30 lines.
  690.  
  691. # Alias /error/ "C:/Program Files/IBM/HTTPServer/error/"
  692. #
  693. # <Directory "C:/Program Files/IBM/HTTPServer/error">
  694. # AllowOverride None
  695. # Options IncludesNoExec
  696. # AddOutputFilter Includes html
  697. # AddHandler type-map var
  698. # Order allow,deny
  699. # Allow from all
  700. # LanguagePriority en de es fr it nl sv
  701. # ForceLanguagePriority Prefer Fallback
  702. # </Directory>
  703. #
  704. # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  705. # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  706. # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  707. # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  708. # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  709. # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  710. # ErrorDocument 410 /error/HTTP_GONE.html.var
  711. # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  712. # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  713. # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  714. # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  715. # ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  716. # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  717. # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  718. # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  719. # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  720. # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
  721.  
  722. #
  723. # The following directives modify normal HTTP response behavior to
  724. # handle known problems with browser implementations.
  725. #
  726. BrowserMatch "Mozilla/2" nokeepalive
  727. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  728. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  729. BrowserMatch "Java/1\.0" force-response-1.0
  730. BrowserMatch "JDK/1\.0" force-response-1.0
  731.  
  732. #
  733. # The following directive disables redirects on non-GET requests for
  734. # a directory that does not include the trailing slash. This fixes a
  735. # problem with Microsoft WebFolders which does not appropriately handle
  736. # redirects for folders with DAV methods.
  737. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
  738. #
  739. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  740. BrowserMatch "^WebDrive" redirect-carefully
  741. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
  742. BrowserMatch "^gnome-vfs" redirect-carefully
  743.  
  744. #
  745. # Allow server status reports generated by mod_status,
  746. # with the URL of http://servername/server-status
  747. # Change the ".example.com" to match your domain to enable.
  748. #
  749. <IfModule mod_status.c>
  750. <Location /server-status>
  751. SetHandler server-status
  752. Order deny,allow
  753. Deny from all
  754. # Add an "Allow from" directive to provide access to the server status page.
  755. #
  756. # Examples:
  757. #
  758. # 1. Allow any client with hostname *.example.com to view the page.
  759. #
  760. # Allow from .example.com
  761. #
  762. # 2. Allow the local machine to view the page using the loopback address.
  763. #
  764. # Allow from 127.0.0.1
  765. #
  766. # 3. Allow any machine on the local network to view the page.
  767. #
  768. # Allow from 192.168.1
  769. </Location>
  770. </IfModule>
  771.  
  772. #
  773. # Allow remote server configuration reports, with the URL of
  774. # http://servername/server-info (requires that mod_info.c be loaded).
  775. # Change the ".example.com" to match your domain to enable.
  776. #
  777. #<Location /server-info>
  778. # SetHandler server-info
  779. # Order deny,allow
  780. # Deny from all
  781. # Allow from .example.com
  782. #</Location>
  783.  
  784. #
  785. # Proxy Server directives. Uncomment the following lines to
  786. # enable the proxy server:
  787. #
  788. #<IfModule mod_proxy.c>
  789.  
  790. #Enable the forward proxy server. Note: Do not use the ProxyRequests directive if
  791. #all you require is reverse proxy.
  792. #
  793. #ProxyRequests On
  794. #
  795. #<Proxy *>
  796. # Order deny,allow
  797. # Deny from all
  798. # Allow from .example.com
  799. #</Proxy>
  800.  
  801. #
  802. # Enable/disable the handling of HTTP/1.1 "Via:" headers.
  803. # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
  804. # Set to one of: Off | On | Full | Block
  805. #
  806. #ProxyVia On
  807.  
  808. #</IfModule>
  809. # End of proxy directives.
  810.  
  811. ### Section 3: Virtual Hosts
  812. #
  813. # VirtualHost: If you want to maintain multiple domains/hostnames on your
  814. # machine you can setup VirtualHost containers for them. Most configurations
  815. # use only name-based virtual hosts so the server doesn't need to worry about
  816. # IP addresses. This is indicated by the asterisks in the directives below.
  817. #
  818. # Please see the documentation at
  819. # <URL:http://publib.boulder.ibm.com/httpserv/manual70/vhosts/>
  820. # for further details before you try to setup virtual hosts.
  821. #
  822. # You may use the command line option '-S' to verify your virtual host
  823. # configuration.
  824.  
  825. #
  826. # Use name-based virtual hosting.
  827. #
  828. #NameVirtualHost *
  829.  
  830. #
  831. # VirtualHost example:
  832. # Almost any Apache directive may go into a VirtualHost container.
  833. # The first VirtualHost section is used for requests without a known
  834. # server name.
  835. #
  836. #<VirtualHost *>
  837. # ServerAdmin webmaster@dummy-host.example.com
  838. # DocumentRoot /www/docs/dummy-host.example.com
  839. # ServerName dummy-host.example.com
  840. # ErrorLog logs/dummy-host.example.com-error.log
  841. # CustomLog logs/dummy-host.example.com-access.log common
  842. #</VirtualHost>
  843.  
  844. # Example SSL configuration which supports SSLv3 and TLSv1
  845. # To enable this support:
  846. # 1) Create a key database with ikeyman
  847. # 2) Update the KeyFile directive below to point to that key database
  848. # 3) Uncomment the directives up through the end of the example
  849. # Note: The IPv6 Listen directive must only be uncommented if
  850. # IPv6 networking is enabled.
  851. #
  852. #LoadModule ibm_ssl_module modules/mod_ibm_ssl.so
  853. #Listen 0.0.0.0:443
  854. ## IPv6 support:
  855. #Listen [::]:443
  856. #<VirtualHost *:443>
  857. #SSLEnable
  858. #SSLProtocolDisable SSLv2
  859. #</VirtualHost>
  860. #KeyFile C:/Program Files/IBM/HTTPServer/ihsserverkey.kdb
  861. #SSLDisable
  862. # End of example SSL configuration
  863.  
  864. #
  865. # Enable IBM HTTP Server diagnostic features.
  866. #
  867.  
  868. # mod_mpmstats logs statistics about server activity to the main
  869. # error log. No records are written while the server is idle.
  870. LoadModule mpmstats_module modules/debug/mod_mpmstats.so
  871. <IfModule mod_mpmstats.c>
  872. # Write a record every 10 minutes (if server isn't idle).
  873. # Recommendation: Lower this interval to 60 seconds, which will
  874. # result in the error log growing faster but with more accurate
  875. # information about server load.
  876. ReportInterval 600
  877. # Include details of active module in the statistics.
  878. TrackModules On
  879. </IfModule>
  880.  
  881. # mod_net_trace will record actual data sent/received from the client
  882. # and on proxy connections, even for SSL connections. Unlike an IP
  883. # trace, interaction with the platform network APIs can be seen.
  884. # The following example configuration can be activated by uncommenting
  885. # the LoadModule directive.
  886. #LoadModule net_trace_module modules/debug/mod_net_trace.so
  887. <IfModule mod_net_trace.c>
  888. NetTraceFile logs/nettrace.log
  889. NetTrace client * dest file event senddata=65535 event recvdata=65535
  890. </IfModule>
  891.  
  892. Win32DisableAcceptEx
  893.  
  894.  
  895. #LoadModule was_ap22_module "C:\Program Files\IBM\WebSphere\Plugins\bin\32bits\mod_was_ap22_http.dll"
  896. #WebSpherePluginConfig "C:\Program Files\IBM\WebSphere\Plugins\config\webserver2\plugin-cfg.xml"
  897.  
  898. LoadModule was_ap22_module "C:\Program Files\IBM\WebSphere\Plugins\bin\32bits\mod_was_ap22_http.dll"
  899. WebSpherePluginConfig "C:\Program Files\IBM\WebSphere\Plugins\config\webserver2\plugin-cfg.xml"
  900.  
  901. <VirtualHost *:80>
  902. ServerName helpdesk.unicreditgroup.ba
  903. DocumentRoot "C:/DOCLINKS"
  904. RewriteEngine on
  905. RewriteCond %{SERVER_PORT} ^80$
  906. RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
  907. </VirtualHost>
  908. <VirtualHost *:443>
  909. ServerName helpdesk.unicreditgroup.ba
  910. DocumentRoot "C:/DOCLINKS"
  911. SSLServerCert helpdesk
  912. KeyFile "C:/Program Files/IBM/HTTPServer/key.kdb"
  913. SSLEnable
  914. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement