Advertisement
alexhorner

httpd.conf

Feb 26th, 2019
935
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  2. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  3. LogFormat "%{Referer}i -> %U" referer
  4. LogFormat "%{User-agent}i" agent
  5.  
  6. #LoadModule auth_pam_module modules/mod_auth_pam.so
  7. #LoadModule php5_module /usr/local/zy-pkgs/lib/libphp5.so
  8. #PHPIniDir /usr/local/zy-pkgs/php
  9. #LoadModule rewrite_module modules/mod_rewrite.so
  10. LoadModule auth_zyxel_module /usr/local/apache/modules/mod_auth_zyxel.so
  11. LoadModule rewrite_module /usr/local/apache/modules/mod_rewrite.so
  12. LoadModule wsgi_module /usr/local/apache/modules/mod_wsgi.so
  13. LoadModule proxy_module /usr/local/apache/modules/mod_proxy.so
  14. LoadModule proxy_http_module /usr/local/apache/modules/mod_proxy_http.so
  15.  
  16. Include /etc/service_conf/httpd_zld.conf
  17. Include /etc/service_conf/httpd_special.conf
  18.  
  19. TypesConfig conf/mime.types
  20.  
  21. DefaultType text/plain
  22.  
  23. #<IfModule mod_mime_magic.c>
  24. # MIMEMagicFile conf/magic
  25. #</IfModule>
  26.  
  27. DirectoryIndex index.html index.htm
  28.  
  29. AuthZyxelRedirect /r51163,/desktop,/login.html
  30. AuthZyxelSkipPattern /favicon.ico /adv,/cgi-bin/weblogin.cgi /desktop,/cgi-bin/weblogin.cgi /desktop,/cgi-bin/file_download.cgi /desktop,/cgi-bin/dlnotify /desktop,/lo
  31. AuthZyxelSkipUserPattern /playzone,/ /cmd,/ /DMS,/ /adv,/cgi-bin/ /desktop,/cgi-bin/ /desktop,/
  32.  
  33. AddHandler cgi-script .cgi
  34.  
  35. HostnameLookups Off
  36.  
  37. TraceEnable off
  38.  
  39. ServerTokens ProductOnly
  40.  
  41. ServerSignature Off
  42.  
  43. /etc/service_conf # cat
  44. ^C
  45. /etc/service_conf # cat httpd.conf
  46.  
  47. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  48. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  49. LogFormat "%{Referer}i -> %U" referer
  50. LogFormat "%{User-agent}i" agent
  51.  
  52. #LoadModule auth_pam_module modules/mod_auth_pam.so
  53. #LoadModule php5_module /usr/local/zy-pkgs/lib/libphp5.so
  54. #PHPIniDir /usr/local/zy-pkgs/php
  55. #LoadModule rewrite_module modules/mod_rewrite.so
  56. LoadModule auth_zyxel_module /usr/local/apache/modules/mod_auth_zyxel.so
  57. LoadModule rewrite_module /usr/local/apache/modules/mod_rewrite.so
  58. LoadModule wsgi_module /usr/local/apache/modules/mod_wsgi.so
  59. LoadModule proxy_module /usr/local/apache/modules/mod_proxy.so
  60. LoadModule proxy_http_module /usr/local/apache/modules/mod_proxy_http.so
  61.  
  62. Include /etc/service_conf/httpd_zld.conf
  63. Include /etc/service_conf/httpd_special.conf
  64.  
  65. TypesConfig conf/mime.types
  66.  
  67. DefaultType text/plain
  68.  
  69. #<IfModule mod_mime_magic.c>
  70. # MIMEMagicFile conf/magic
  71. #</IfModule>
  72.  
  73. DirectoryIndex index.html index.htm
  74.  
  75. AuthZyxelRedirect /r51163,/desktop,/login.html
  76. AuthZyxelSkipPattern /favicon.ico /adv,/cgi-bin/weblogin.cgi /desktop,/cgi-bin/weblogin.cgi /desktop,/cgi-bin/file_download.cgi /desktop,/cgi-bin/dlnotify /desktop,/login.html /desktop,/res/ /desktop,/css/ /desktop,/utility/flag.js /MyWeb/ /register_main/setCookie /playzone,/mobile_login.html /playzone,/mobile/sencha/ /playzone,/mobile/images/ /playzone,/images/
  77. AuthZyxelSkipUserPattern /playzone,/ /cmd,/ /DMS,/ /adv,/cgi-bin/ /desktop,/cgi-bin/ /desktop,/
  78.  
  79. AddHandler cgi-script .cgi
  80.  
  81. HostnameLookups Off
  82.  
  83. TraceEnable off
  84.  
  85. ServerTokens ProductOnly
  86.  
  87. ServerSignature Off
  88.  
  89. ReadmeName README.html
  90. HeaderName HEADER.html
  91.  
  92. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  93.  
  94. AddLanguage ca .ca
  95. AddLanguage cs .cz .cs
  96. AddLanguage da .dk
  97. AddLanguage de .de
  98. AddLanguage el .el
  99. AddLanguage en .en
  100. AddLanguage eo .eo
  101. AddLanguage es .es
  102. AddLanguage et .et
  103. AddLanguage fr .fr
  104. AddLanguage he .he
  105. AddLanguage hr .hr
  106. AddLanguage it .it
  107. AddLanguage ja .ja
  108. AddLanguage ko .ko
  109. AddLanguage ltz .ltz
  110. AddLanguage nl .nl
  111. AddLanguage nn .nn
  112. AddLanguage no .no
  113. AddLanguage pl .po
  114. AddLanguage pt .pt
  115. AddLanguage pt-BR .pt-br
  116. AddLanguage ru .ru
  117. AddLanguage sv .sv
  118. AddLanguage zh-CN .zh-cn
  119. AddLanguage zh-TW .zh-tw
  120.  
  121. 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 zh-CN zh-TW
  122.  
  123. ForceLanguagePriority Prefer Fallback
  124.  
  125. AddDefaultCharset utf-8
  126.  
  127. AddCharset ISO-8859-1 .iso8859-1 .latin1
  128. AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
  129. AddCharset ISO-8859-3 .iso8859-3 .latin3
  130. AddCharset ISO-8859-4 .iso8859-4 .latin4
  131. AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
  132. AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
  133. AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
  134. AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
  135. AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
  136. AddCharset ISO-2022-JP .iso2022-jp .jis
  137. AddCharset ISO-2022-KR .iso2022-kr .kis
  138. AddCharset ISO-2022-CN .iso2022-cn .cis
  139. AddCharset Big5 .Big5 .big5
  140. AddCharset WINDOWS-1251 .cp-1251 .win-1251
  141. AddCharset CP866 .cp866
  142. AddCharset KOI8-r .koi8-r .koi8-ru
  143. AddCharset KOI8-ru .koi8-uk .ua
  144. AddCharset ISO-10646-UCS-2 .ucs2
  145. AddCharset ISO-10646-UCS-4 .ucs4
  146. AddCharset UTF-8 .utf8
  147.  
  148. AddCharset GB2312 .gb2312 .gb
  149. AddCharset utf-7 .utf7
  150. AddCharset utf-8 .utf8
  151. AddCharset big5 .big5 .b5
  152. AddCharset EUC-TW .euc-tw
  153. AddCharset EUC-JP .euc-jp
  154. AddCharset EUC-KR .euc-kr
  155. AddCharset shift_jis .sjis
  156.  
  157. AddType application/x-compress .Z
  158. AddType application/x-gzip .gz .tgz
  159. AddType application/vnd.openxmlformats .docx .pptx .xlsx
  160. #AddType application/x-httpd-php .php .phtml
  161.  
  162. #AddType application/x-httpd-php-source .phps
  163.  
  164.  
  165. AddHandler type-map var
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173. BrowserMatch "Mozilla/2" nokeepalive
  174. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  175. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  176. BrowserMatch "Java/1\.0" force-response-1.0
  177. BrowserMatch "JDK/1\.0" force-response-1.0
  178.  
  179. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  180. BrowserMatch "^WebDrive" redirect-carefully
  181. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
  182. BrowserMatch "^gnome-vfs" redirect-carefully
  183.  
  184.  
  185.  
  186.  
  187. #<IfModule mod_ssl.c>
  188. # Include /etc/service_conf/ssl.conf
  189. #</IfModule>
  190.  
  191. #SSLCryptoDevice cryptodev
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement