Advertisement
Guest User

Untitled

a guest
Feb 27th, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 19.29 KB | None | 0 0
  1. #-----------------------------------------------#
  2. # Основная конфигурация сервера
  3. #-----------------------------------------------#
  4.  
  5. %httpcharset%
  6. AccessFileName          .htaccess
  7. DocumentRoot            "%ssitedir%/"
  8. EnableMMAP              Off
  9. EnableSendfile          Off
  10. ExtendedStatus          On
  11. HostnameLookups         Off
  12. KeepAlive               On
  13. KeepAliveTimeout        10
  14. Listen                  %ip%:%httpport%
  15. Listen                  %ip%:%httpsport%
  16. MaxKeepAliveRequests    100
  17. MaxRanges               200
  18. MaxRequestsPerChild     %maxrequests%
  19. NameVirtualHost         *:%httpport%
  20. NameVirtualHost         *:%httpsport%
  21. PidFile                 "%sprogdir%/userdata/temp/httpd.pid"
  22. ScriptInterpreterSource script
  23. ServerName              %ips%
  24. ServerRoot              "%sprogdir%/modules/http/%httpdriver%"
  25. ServerSignature         Off
  26. ServerTokens            OS
  27. ListenBacklog           1024
  28. ThreadLimit             32
  29. ThreadsPerChild         32
  30. ThreadStackSize         8388608
  31. Timeout                 30
  32. UseCanonicalName        Off
  33. Win32DisableAcceptEx    On
  34.  
  35. #-----------------------------------------------#
  36. # Подключение модулей
  37. #-----------------------------------------------#
  38.  
  39. LoadModule    actions_module         modules/mod_actions.so
  40. LoadModule    alias_module           modules/mod_alias.so
  41. LoadModule    asis_module            modules/mod_asis.so
  42. LoadModule    auth_basic_module      modules/mod_auth_basic.so
  43. #LoadModule   auth_digest_module     modules/mod_auth_digest.so
  44. #LoadModule   authn_alias_module     modules/mod_authn_alias.so
  45. #LoadModule   authn_anon_module      modules/mod_authn_anon.so
  46. #LoadModule   authn_dbd_module       modules/mod_authn_dbd.so
  47. #LoadModule   authn_dbm_module       modules/mod_authn_dbm.so
  48. LoadModule    authn_default_module   modules/mod_authn_default.so
  49. LoadModule    authn_file_module      modules/mod_authn_file.so
  50. #LoadModule   authnz_ldap_module     modules/mod_authnz_ldap.so
  51. #LoadModule   authz_dbm_module       modules/mod_authz_dbm.so
  52. LoadModule    authz_default_module   modules/mod_authz_default.so
  53. LoadModule    authz_groupfile_module modules/mod_authz_groupfile.so
  54. LoadModule    authz_host_module      modules/mod_authz_host.so
  55. #LoadModule   authz_owner_module     modules/mod_authz_owner.so
  56. LoadModule    authz_user_module      modules/mod_authz_user.so
  57. LoadModule    autoindex_module       modules/mod_autoindex.so
  58. #LoadModule   cache_module           modules/mod_cache.so
  59. #LoadModule   cern_meta_module       modules/mod_cern_meta.so
  60. LoadModule    cgi_module             modules/mod_cgi.so
  61. #LoadModule   charset_lite_module    modules/mod_charset_lite.so
  62. #LoadModule   dav_module             modules/mod_dav.so
  63. #LoadModule   dav_fs_module          modules/mod_dav_fs.so
  64. #LoadModule   dav_lock_module        modules/mod_dav_lock.so
  65. #LoadModule   dbd_module             modules/mod_dbd.so
  66. #LoadModule   deflate_module         modules/mod_deflate.so
  67. LoadModule    dir_module             modules/mod_dir.so
  68. #LoadModule   disk_cache_module      modules/mod_disk_cache.so
  69. #LoadModule   dumpio_module          modules/mod_dumpio.so
  70. LoadModule    env_module             modules/mod_env.so
  71. #LoadModule   expires_module         modules/mod_expires.so
  72. #LoadModule   ext_filter_module      modules/mod_ext_filter.so
  73. #LoadModule   file_cache_module      modules/mod_file_cache.so
  74. #LoadModule   filter_module          modules/mod_filter.so
  75. LoadModule    headers_module         modules/mod_headers.so
  76. #LoadModule   ident_module           modules/mod_ident.so
  77. #LoadModule   imagemap_module        modules/mod_imagemap.so
  78. LoadModule    include_module         modules/mod_include.so
  79. #LoadModule   info_module            modules/mod_info.so
  80. LoadModule    isapi_module           modules/mod_isapi.so
  81. #LoadModule   ldap_module            modules/mod_ldap.so
  82. #LoadModule   logio_module           modules/mod_logio.so
  83. LoadModule    log_config_module      modules/mod_log_config.so
  84. #LoadModule   log_forensic_module    modules/mod_log_forensic.so
  85. #LoadModule   mem_cache_module       modules/mod_mem_cache.so
  86. LoadModule    mime_module            modules/mod_mime.so
  87. #LoadModule   mime_magic_module      modules/mod_mime_magic.so
  88. LoadModule    negotiation_module     modules/mod_negotiation.so
  89. #LoadModule   proxy_module           modules/mod_proxy.so
  90. #LoadModule   proxy_ajp_module       modules/mod_proxy_ajp.so
  91. #LoadModule   proxy_balancer_module  modules/mod_proxy_balancer.so
  92. #LoadModule   proxy_connect_module   modules/mod_proxy_connect.so
  93. #LoadModule   proxy_ftp_module       modules/mod_proxy_ftp.so
  94. #LoadModule   proxy_http_module      modules/mod_proxy_http.so
  95. #LoadModule   reqtimeout_module      modules/mod_reqtimeout.so
  96. LoadModule    rewrite_module         modules/mod_rewrite.so
  97. LoadModule    setenvif_module        modules/mod_setenvif.so
  98. #LoadModule   speling_module         modules/mod_speling.so
  99. LoadModule    ssl_module             modules/mod_ssl.so
  100. LoadModule    status_module          modules/mod_status.so
  101. #LoadModule   substitute_module      modules/mod_substitute.so
  102. #LoadModule   unique_id_module       modules/mod_unique_id.so
  103. #LoadModule   userdir_module         modules/mod_userdir.so
  104. #LoadModule   usertrack_module       modules/mod_usertrack.so
  105. #LoadModule   version_module         modules/mod_version.so
  106. #LoadModule   vhost_alias_module     modules/mod_vhost_alias.so
  107.  
  108. PHPINIDir     "%sprogdir%/modules/php/%phpdriver%"
  109. LoadModule    php5_module "%sprogdir%/modules/php/%phpdriver%/php5apache2_2.dll"
  110.  
  111. #-----------------------------------------------#
  112. # Настройка прав доступа к серверу
  113. #-----------------------------------------------#
  114.  
  115. <Directory />
  116.     Options +FollowSymLinks
  117.     AllowOverride All
  118.     Order Deny,Allow
  119.     Allow from all
  120. </Directory>
  121. <Directory "%ssitedir%/*">
  122.     AllowOverride All
  123.     Options -MultiViews +Indexes +FollowSymLinks +IncludesNoExec +Includes +ExecCGI
  124.     Order deny,allow
  125.     Allow from all
  126. </Directory>
  127. <Directory "%sprogdir%/modules/system/html/openserver">
  128.     AllowOverride All
  129.     Options -MultiViews -Indexes -FollowSymLinks -IncludesNoExec -Includes -ExecCGI
  130.     AddDefaultCharset Off
  131.     <IfModule dir_module>
  132.         DirectoryIndex index.php
  133.     </IfModule>
  134.     Order deny,allow
  135.     Allow from all
  136.     Allow from %ips%
  137.     %allow%Allow from all
  138. </Directory>
  139. <Directory "%sprogdir%/modules/system/html/default">
  140.     AllowOverride All
  141.     Options -MultiViews -Indexes -FollowSymLinks -IncludesNoExec -Includes -ExecCGI
  142.     AddDefaultCharset Off
  143.     <IfModule dir_module>
  144.         DirectoryIndex index.html
  145.     </IfModule>
  146.     Order deny,allow
  147.     Allow from all
  148. </Directory>
  149. <Directory "/cgi-bin">
  150.     AllowOverride None
  151.     Options +ExecCGI
  152.     Order allow,deny
  153.     Allow from all
  154. </Directory>
  155. <FilesMatch "^\.ht">
  156.     Require all denied
  157. </FilesMatch>
  158. <IfModule alias_module>
  159.     Alias    /openserver/ "%sprogdir%/modules/system/html/openserver/"
  160. </IfModule>
  161.  
  162. #-----------------------------------------------#
  163. # Конфигурация сообщений об ошибках
  164. #-----------------------------------------------#
  165.  
  166. ErrorLog "%sprogdir%/userdata/logs/%httpdriver%_errora.log"
  167. LogLevel warn
  168. BufferedLogs Off
  169. <IfModule log_config_module>
  170.     LogFormat "%v: %a %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  171.     LogFormat "%v: %a %t \"%r\" %>s %b" common
  172.  
  173.     <IfModule logio_module>
  174.         # You need to enable mod_logio.c to use %I and %O
  175.         LogFormat "%v: %a %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  176.     </IfModule>
  177.     %log%CustomLog "%sprogdir%/userdata/logs/%httpdriver%_queriesa.log" combined
  178. </IfModule>
  179.  
  180. #ErrorDocument 500 "The server made a boo boo."
  181. #ErrorDocument 404 /missing.html
  182. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  183. #ErrorDocument 402 http://ret.ru/subscription_info.html
  184.  
  185. # Multi-language error messages
  186. Alias /apacheerror/ "%sprogdir%/modules/http/%httpdriver%/error/"
  187.  
  188. <Directory "%sprogdir%/modules/http/%httpdriver%/error">
  189.     AllowOverride None
  190.     Options IncludesNoExec
  191.     AddOutputFilter Includes html
  192.     AddHandler type-map var
  193.     Order allow,deny
  194.     Allow from all
  195.     LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
  196.     ForceLanguagePriority Prefer Fallback
  197. </Directory>
  198.  
  199. ErrorDocument 400 /apacheerror/HTTP_BAD_REQUEST.html.var
  200. ErrorDocument 401 /apacheerror/HTTP_UNAUTHORIZED.html.var
  201. ErrorDocument 403 /apacheerror/HTTP_FORBIDDEN.html.var
  202. ErrorDocument 404 /apacheerror/HTTP_NOT_FOUND.html.var
  203. ErrorDocument 405 /apacheerror/HTTP_METHOD_NOT_ALLOWED.html.var
  204. ErrorDocument 408 /apacheerror/HTTP_REQUEST_TIME_OUT.html.var
  205. ErrorDocument 410 /apacheerror/HTTP_GONE.html.var
  206. ErrorDocument 411 /apacheerror/HTTP_LENGTH_REQUIRED.html.var
  207. ErrorDocument 412 /apacheerror/HTTP_PRECONDITION_FAILED.html.var
  208. ErrorDocument 413 /apacheerror/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  209. ErrorDocument 414 /apacheerror/HTTP_REQUEST_URI_TOO_LARGE.html.var
  210. ErrorDocument 415 /apacheerror/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  211. ErrorDocument 500 /apacheerror/HTTP_INTERNAL_SERVER_ERROR.html.var
  212. ErrorDocument 501 /apacheerror/HTTP_NOT_IMPLEMENTED.html.var
  213. ErrorDocument 502 /apacheerror/HTTP_BAD_GATEWAY.html.var
  214. ErrorDocument 503 /apacheerror/HTTP_SERVICE_UNAVAILABLE.html.var
  215. ErrorDocument 506 /apacheerror/HTTP_VARIANT_ALSO_VARIES.html.var
  216.  
  217. #-----------------------------------------------#
  218. # Конфигурация MIME
  219. #-----------------------------------------------#
  220.  
  221. DefaultType text/plain
  222.  
  223. <IfModule mime_module>
  224.     #
  225.     # TypesConfig points to the file containing the list of mappings from
  226.     # filename extension to MIME-type.
  227.     #
  228.     TypesConfig "%sprogdir%/modules/http/%httpdriver%/conf/mime.types"
  229.  
  230.     #
  231.     # AddType allows you to add to or override the MIME configuration
  232.     # file specified in TypesConfig for specific file types.
  233.     #
  234.     #AddType application/x-gzip .tgz
  235.     #
  236.     # AddEncoding allows you to have certain browsers uncompress
  237.     # information on the fly. Note: Not all browsers support this.
  238.     #
  239.     #AddEncoding x-compress .Z
  240.     #AddEncoding x-gzip .gz .tgz
  241.     #
  242.     # If the AddEncoding directives above are commented-out, then you
  243.     # probably should define those extensions to indicate media types:
  244.     #
  245.     AddType application/x-compress .Z
  246.     AddType application/x-gzip .gz .tgz
  247.     AddType image/x-icon .ico
  248.     #
  249.     # AddHandler allows you to map certain file extensions to "handlers":
  250.     # actions unrelated to filetype. These can be either built into the server
  251.     # or added with the Action directive (see below)
  252.     #
  253.     # To use CGI scripts outside of ScriptAliased directories:
  254.     # (You will also need to add "ExecCGI" to the "Options" directive.)
  255.     #
  256.     AddHandler cgi-script .cgi .pl
  257.     AddType application/x-httpd-php .php .php5 .phtml
  258.  
  259.     # For type maps (negotiated resources):
  260.     #AddHandler type-map var
  261.  
  262.     #
  263.     # Filters allow you to process content before it is sent to the client.
  264.     #
  265.     # To parse .shtml files for server-side includes (SSI):
  266.     # (You will also need to add "Includes" to the "Options" directive.)
  267.     #
  268.     AddType text/html .shtml
  269.     AddOutputFilter INCLUDES .shtml
  270. </IfModule>
  271.  
  272. <IfModule mime_magic_module>
  273.     MIMEMagicFile "%sprogdir%/modules/http/%httpdriver%/conf/magic"
  274. </IfModule>
  275.  
  276. #-----------------------------------------------#
  277. # Конфигурация Index-а и иконок
  278. #-----------------------------------------------#
  279.  
  280. <IfModule dir_module>
  281.     DirectoryIndex index.php index.html index.htm index.pl
  282. </IfModule>
  283.  
  284. # Fancy directory listings
  285. IndexOptions FancyIndexing HTMLTable VersionSort NameWidth=*
  286.  
  287. Alias /apacheicons/ "%sprogdir%/modules/http/%httpdriver%/icons/"
  288.  
  289. <Directory "%sprogdir%/modules/http/%httpdriver%/icons">
  290.     Options Indexes MultiViews
  291.     AllowOverride None
  292.     Order allow,deny
  293.     Allow from all
  294. </Directory>
  295.  
  296. AddIconByEncoding (CMP,/apacheicons/compressed.gif) x-compress x-gzip
  297.  
  298. AddIconByType (TXT,/apacheicons/text.gif) text/*
  299. AddIconByType (IMG,/apacheicons/image2.gif) image/*
  300. AddIconByType (SND,/apacheicons/sound2.gif) audio/*
  301. AddIconByType (VID,/apacheicons/movie.gif) video/*
  302.  
  303. AddIcon /apacheicons/binary.gif .bin .exe
  304. AddIcon /apacheicons/binhex.gif .hqx
  305. AddIcon /apacheicons/tar.gif .tar
  306. AddIcon /apacheicons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  307. AddIcon /apacheicons/compressed.gif .Z .z .tgz .gz .zip
  308. AddIcon /apacheicons/a.gif .ps .ai .eps
  309. AddIcon /apacheicons/layout.gif .html .shtml .htm .pdf
  310. AddIcon /apacheicons/text.gif .txt
  311. AddIcon /apacheicons/c.gif .c
  312. AddIcon /apacheicons/p.gif .pl .py
  313. AddIcon /apacheicons/f.gif .for
  314. AddIcon /apacheicons/dvi.gif .dvi
  315. AddIcon /apacheicons/uuencoded.gif .uu
  316. AddIcon /apacheicons/script.gif .conf .sh .shar .csh .ksh .tcl
  317. AddIcon /apacheicons/tex.gif .tex
  318. AddIcon /apacheicons/bomb.gif core
  319.  
  320. AddIcon /apacheicons/back.gif ..
  321. AddIcon /apacheicons/hand.right.gif README
  322. AddIcon /apacheicons/folder.gif ^^DIRECTORY^^
  323. AddIcon /apacheicons/blank.gif ^^BLANKICON^^
  324.  
  325. DefaultIcon /apacheicons/unknown.gif
  326.  
  327. #AddDescription "GZIP compressed document" .gz
  328. #AddDescription "tar archive" .tar
  329. #AddDescription "GZIP compressed tar archive" .tgz
  330.  
  331. ReadmeName README.html
  332. HeaderName HEADER.html
  333.  
  334. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  335.  
  336. #-----------------------------------------------#
  337. # Подключение языков и кодировок
  338. #-----------------------------------------------#
  339.  
  340. AddLanguage ca .ca
  341. AddLanguage cs .cz .cs
  342. AddLanguage da .dk
  343. AddLanguage de .de
  344. AddLanguage el .el
  345. AddLanguage en .en
  346. AddLanguage eo .eo
  347. AddLanguage es .es
  348. AddLanguage et .et
  349. AddLanguage fr .fr
  350. AddLanguage he .he
  351. AddLanguage hr .hr
  352. AddLanguage it .it
  353. AddLanguage ja .ja
  354. AddLanguage ko .ko
  355. AddLanguage ltz .ltz
  356. AddLanguage nl .nl
  357. AddLanguage nn .nn
  358. AddLanguage no .no
  359. AddLanguage pl .po
  360. AddLanguage pt .pt
  361. AddLanguage pt-BR .pt-br
  362. AddLanguage ru .ru
  363. AddLanguage sv .sv
  364. AddLanguage tr .tr
  365. AddLanguage zh-CN .zh-cn
  366. AddLanguage zh-TW .zh-tw
  367.  
  368. LanguagePriority         en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
  369. ForceLanguagePriority    Prefer Fallback
  370.  
  371. AddCharset us-ascii.ascii .us-ascii
  372. AddCharset ISO-8859-1  .iso8859-1  .latin1
  373. AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
  374. AddCharset ISO-8859-3  .iso8859-3  .latin3
  375. AddCharset ISO-8859-4  .iso8859-4  .latin4
  376. AddCharset ISO-8859-5  .iso8859-5  .cyr .iso-ru
  377. AddCharset ISO-8859-6  .iso8859-6  .arb .arabic
  378. AddCharset ISO-8859-7  .iso8859-7  .grk .greek
  379. AddCharset ISO-8859-8  .iso8859-8  .heb .hebrew
  380. AddCharset ISO-8859-9  .iso8859-9  .latin5 .trk
  381. AddCharset ISO-8859-10  .iso8859-10  .latin6
  382. AddCharset ISO-8859-13  .iso8859-13
  383. AddCharset ISO-8859-14  .iso8859-14  .latin8
  384. AddCharset ISO-8859-15  .iso8859-15  .latin9
  385. AddCharset ISO-8859-16  .iso8859-16  .latin10
  386. AddCharset ISO-2022-JP .iso2022-jp .jis
  387. AddCharset ISO-2022-KR .iso2022-kr .kis
  388. AddCharset ISO-2022-CN .iso2022-cn .cis
  389. AddCharset Big5.Big5   .big5 .b5
  390. AddCharset cn-Big5 .cn-big5
  391. # For russian, more than one charset is used (depends on client, mostly):
  392. AddCharset WINDOWS-1251 .cp-1251   .win-1251
  393. AddCharset CP866   .cp866
  394. AddCharset KOI8  .koi8
  395. AddCharset KOI8-E  .koi8-e
  396. AddCharset KOI8-r  .koi8-r .koi8-ru
  397. AddCharset KOI8-U  .koi8-u
  398. AddCharset KOI8-ru .koi8-uk .ua
  399. AddCharset ISO-10646-UCS-2 .ucs2
  400. AddCharset ISO-10646-UCS-4 .ucs4
  401. AddCharset UTF-7   .utf7
  402. AddCharset UTF-8   .utf8
  403. AddCharset UTF-16  .utf16
  404. AddCharset UTF-16BE .utf16be
  405. AddCharset UTF-16LE .utf16le
  406. AddCharset UTF-32  .utf32
  407. AddCharset UTF-32BE .utf32be
  408. AddCharset UTF-32LE .utf32le
  409. AddCharset euc-cn  .euc-cn
  410. AddCharset euc-gb  .euc-gb
  411. AddCharset euc-jp  .euc-jp
  412. AddCharset euc-kr  .euc-kr
  413. #Not sure how euc-tw got in - IANA doesn't list it???
  414. AddCharset EUC-TW  .euc-tw
  415. AddCharset gb2312  .gb2312 .gb
  416. AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
  417. AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
  418. AddCharset shift_jis   .shift_jis .sjis
  419.  
  420. #-----------------------------------------------#
  421. # Конфигурация SSL
  422. #-----------------------------------------------#
  423.  
  424. AddType application/x-x509-ca-cert .crt
  425. AddType application/x-pkcs7-crl    .crl
  426.  
  427. <IfModule ssl_module>
  428.     SSLPassPhraseDialog       builtin
  429.     SSLSessionCache           "shmcb:%sprogdir%/userdata/temp/ssl_scache(512000)"
  430.     SSLSessionCacheTimeout    300
  431.     SSLMutex                  default
  432.     SSLCryptoDevice           builtin
  433.     SSLRandomSeed startup     builtin
  434.     SSLRandomSeed connect     builtin
  435.     SSLVerifyClient           none
  436.     SSLProtocol               ALL -SSLv2 -SSLv3
  437.     SSLCipherSuite            ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
  438.     SSLHonorCipherOrder       On
  439.     SSLCompression            Off
  440.     SSLCertificateFile        "%sprogdir%/userdata/config/server.crt"
  441.     SSLCertificateKeyFile     "%sprogdir%/userdata/config/server.key"
  442. </IfModule>
  443.  
  444. #-----------------------------------------------#
  445. # Исключения User Agent
  446. #-----------------------------------------------#
  447. BrowserMatch "Mozilla/2" nokeepalive
  448. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  449. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  450. BrowserMatch "Java/1\.0" force-response-1.0
  451. BrowserMatch "JDK/1\.0" force-response-1.0
  452. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  453. BrowserMatch "MS FrontPage" redirect-carefully
  454. BrowserMatch "^WebDrive" redirect-carefully
  455. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  456. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  457. BrowserMatch "^XML Spy" redirect-carefully
  458. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  459.  
  460. #-----------------------------------------------#
  461. # Первичный виртуальный хост "по умолчанию"
  462. #-----------------------------------------------#
  463. <VirtualHost *:%httpport%>
  464.     DocumentRoot    "%sprogdir%/modules/system/html/default"
  465.     ServerName      "default"
  466.     ServerAlias     "default"
  467.     <Location /openserver/server-status>
  468.         SetHandler server-status
  469.         Order deny,allow
  470.         Allow from all
  471.     </Location>
  472. </VirtualHost>
  473. <VirtualHost *:%httpsport%>
  474.     DocumentRoot    "%sprogdir%/modules/system/html/default"
  475.     ServerName      "default"
  476.     ServerAlias     "default"
  477.  
  478.     SSLEngine on
  479.  
  480.     SetEnvIf User-Agent ".*MSIE [1-5].*" \
  481.     nokeepalive ssl-unclean-shutdown \
  482.     downgrade-1.0 force-response-1.0
  483.  
  484.     SetEnvIf User-Agent ".*MSIE [6-9].*" \
  485.     ssl-unclean-shutdown
  486. </VirtualHost>
  487. #-----------------------------------------------#
  488. # Конец конфигурации хоста "по умолчанию"
  489. #-----------------------------------------------#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement