Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2012
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.79 KB | None | 0 0
  1. ServerRoot "/usr/local/Apache"
  2. PidFile logs/httpd.pid
  3. Timeout 300
  4. KeepAlive On
  5. MaxKeepAliveRequests 100
  6. KeepAliveTimeout 15
  7.  
  8. <IfModule mpm_winnt.c>
  9. ThreadsPerChild 250
  10. MaxRequestsPerChild 0
  11. </IfModule>
  12.  
  13. Listen 80
  14.  
  15. LoadModule actions_module modules/mod_actions.so
  16. LoadModule alias_module modules/mod_alias.so
  17. LoadModule asis_module modules/mod_asis.so
  18. LoadModule auth_basic_module modules/mod_auth_basic.so
  19. LoadModule authn_default_module modules/mod_authn_default.so
  20. LoadModule authn_file_module modules/mod_authn_file.so
  21. LoadModule authz_default_module modules/mod_authz_default.so
  22. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  23. LoadModule authz_host_module modules/mod_authz_host.so
  24. LoadModule authz_user_module modules/mod_authz_user.so
  25. LoadModule autoindex_module modules/mod_autoindex.so
  26. LoadModule cgi_module modules/mod_cgi.so
  27. LoadModule dir_module modules/mod_dir.so
  28. LoadModule env_module modules/mod_env.so
  29. LoadModule headers_module modules/mod_headers.so
  30. LoadModule include_module modules/mod_include.so
  31. LoadModule info_module modules/mod_info.so
  32. LoadModule log_config_module modules/mod_log_config.so
  33. LoadModule logio_module modules/mod_logio.so
  34. LoadModule mime_module modules/mod_mime.so
  35. LoadModule negotiation_module modules/mod_negotiation.so
  36. LoadModule rewrite_module modules/mod_rewrite.so
  37. LoadModule setenvif_module modules/mod_setenvif.so
  38. LoadModule userdir_module modules/mod_userdir.so
  39.  
  40. include conf/php.conf
  41. ServerAdmin admin@globalzone.su
  42. ServerName localhost:80
  43. UseCanonicalName Off
  44. DocumentRoot "/home/localhost"
  45.  
  46. <Directory "/home/">
  47. Options Includes +FollowSymlinks
  48. AllowOverride All
  49. Allow from all
  50. </Directory>
  51.  
  52. UserDir "T:/home/users/"
  53. DirectoryIndex index.html index.php index.htm index.shtm index.shtml index.pl index.cgi default.htm default.html default.php
  54. AccessFileName .htaccess
  55.  
  56. <FilesMatch "^\.ht">
  57. Order allow,deny
  58. Deny from all
  59. </FilesMatch>
  60.  
  61. TypesConfig conf/mime.types
  62. DefaultType text/plain
  63.  
  64. <IfModule mod_mime_magic.c>
  65. MIMEMagicFile conf/magic
  66. </IfModule>
  67.  
  68. HostnameLookups Off
  69. ErrorLog logs/error.log
  70. LogLevel warn
  71. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  72. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  73. LogFormat "%a %{%d.%m.%Y %T}t %U%q %>s %O" STPServer_format
  74. LogFormat "%{Referer}i -> %U" referer
  75. LogFormat "%{User-agent}i" agent
  76. CustomLog logs/access.log common
  77. ServerTokens Prod
  78. ServerSignature Off
  79. Alias /icons/ "/usr/local/Apache/icons/"
  80. Alias /_errors/ "/home/errors/"
  81.  
  82. <Directory "/usr/local/Apache/icons/">
  83. Options None
  84. AllowOverride None
  85. Order allow,deny
  86. Allow from all
  87. </Directory>
  88.  
  89. ScriptAlias /cgi/ "/home/localhost/cgi"
  90.  
  91. <Directory "/home/localhost/cgi">
  92. AllowOverride None
  93. Options ExecCGI
  94. Order allow,deny
  95. Allow from all
  96. </Directory>
  97.  
  98. <Directory "/home/users/*/cgi">
  99. AllowOverride None
  100. Options ExecCGI
  101. Order allow,deny
  102. Allow from all
  103. </Directory>
  104.  
  105. IndexOptions FancyIndexing VersionSort
  106. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  107. AddIconByType (TXT,/icons/text.gif) text/*
  108. AddIconByType (IMG,/icons/image2.gif) image/*
  109. AddIconByType (SND,/icons/sound2.gif) audio/*
  110. AddIconByType (VID,/icons/movie.gif) video/*
  111. AddIcon /icons/binary.gif .bin .exe
  112. AddIcon /icons/binhex.gif .hqx
  113. AddIcon /icons/tar.gif .tar
  114. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  115. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  116. AddIcon /icons/a.gif .ps .ai .eps
  117. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  118. AddIcon /icons/text.gif .txt
  119. AddIcon /icons/c.gif .c
  120. AddIcon /icons/p.gif .pl .py
  121. AddIcon /icons/f.gif .for
  122. AddIcon /icons/dvi.gif .dvi
  123. AddIcon /icons/uuencoded.gif .uu
  124. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  125. AddIcon /icons/tex.gif .tex
  126. AddIcon /icons/bomb.gif core
  127. AddIcon /icons/back.gif ..
  128. AddIcon /icons/hand.right.gif README
  129. AddIcon /icons/folder.gif ^^DIRECTORY^^
  130. AddIcon /icons/blank.gif ^^BLANKICON^^
  131. DefaultIcon /icons/unknown.gif
  132.  
  133. ReadmeName README.html
  134. HeaderName HEADER.html
  135.  
  136. AddLanguage ca .ca
  137. AddLanguage cs .cz .cs
  138. AddLanguage da .dk
  139. AddLanguage de .de
  140. AddLanguage el .el
  141. AddLanguage en .en
  142. AddLanguage eo .eo
  143. AddLanguage es .es
  144. AddLanguage et .et
  145. AddLanguage fr .fr
  146. AddLanguage he .he
  147. AddLanguage hr .hr
  148. AddLanguage it .it
  149. AddLanguage ja .ja
  150. AddLanguage ko .ko
  151. AddLanguage ltz .ltz
  152. AddLanguage nl .nl
  153. AddLanguage nn .nn
  154. AddLanguage no .no
  155. AddLanguage pl .po
  156. AddLanguage pt .pt
  157. AddLanguage pt-BR .pt-br
  158. AddLanguage ru .ru
  159. AddLanguage sv .sv
  160. AddLanguage zh-CN .zh-cn
  161. AddLanguage zh-TW .zh-tw
  162. LanguagePriority ru en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR sv zh-CN zh-TW
  163. ForceLanguagePriority Prefer Fallback
  164.  
  165. AddCharset ISO-8859-1 .iso8859-1 .latin1
  166. AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
  167. AddCharset ISO-8859-3 .iso8859-3 .latin3
  168. AddCharset ISO-8859-4 .iso8859-4 .latin4
  169. AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru
  170. AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb
  171. AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk
  172. AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb
  173. AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk
  174. AddCharset ISO-2022-JP .iso2022-jp .jis
  175. AddCharset ISO-2022-KR .iso2022-kr .kis
  176. AddCharset ISO-2022-CN .iso2022-cn .cis
  177. AddCharset Big5 .Big5 .big5
  178. AddCharset WINDOWS-1251 .cp-1251 .win-1251
  179. AddCharset CP866 .cp866
  180. AddCharset KOI8-r .koi8-r .koi8-ru
  181. AddCharset KOI8-ru .koi8-uk .ua
  182. AddCharset ISO-10646-UCS-2 .ucs2
  183. AddCharset ISO-10646-UCS-4 .ucs4
  184. AddCharset UTF-8 .utf8
  185. AddCharset GB2312 .gb2312 .gb
  186. AddCharset utf-7 .utf7
  187. AddCharset utf-8 .utf8
  188. AddCharset big5 .big5 .b5
  189. AddCharset EUC-TW .euc-tw
  190. AddCharset EUC-JP .euc-jp
  191. AddCharset EUC-KR .euc-kr
  192. AddCharset shift_jis .sjis
  193.  
  194. AddType application/x-httpd-php .php
  195. AddType application/x-httpd-php-source .phps
  196. AddType application/x-compress .Z
  197. AddType application/x-gzip .gz .tgz
  198. AddHandler cgi-script .cgi .pl
  199. AddHandler type-map var
  200. AddType text/html .shtml .shtm .stm
  201. AddOutputFilter INCLUDES .shtml .shtm .stm
  202.  
  203. ErrorDocument 400 /_errors/400.shtml
  204. ErrorDocument 401 /_errors/401.shtml
  205. ErrorDocument 402 /_errors/402.shtml
  206. ErrorDocument 403 /_errors/403.shtml
  207. ErrorDocument 404 /_errors/404.shtml
  208. ErrorDocument 405 /_errors/405.shtml
  209. ErrorDocument 406 /_errors/406.shtml
  210. ErrorDocument 407 /_errors/407.shtml
  211. ErrorDocument 408 /_errors/408.shtml
  212. ErrorDocument 410 /_errors/410.shtml
  213. ErrorDocument 411 /_errors/411.shtml
  214. ErrorDocument 412 /_errors/412.shtml
  215. ErrorDocument 413 /_errors/413.shtml
  216. ErrorDocument 414 /_errors/414.shtml
  217. ErrorDocument 415 /_errors/415.shtml
  218. ErrorDocument 500 /_errors/500.shtml
  219. ErrorDocument 501 /_errors/501.shtml
  220. ErrorDocument 502 /_errors/502.shtml
  221. ErrorDocument 503 /_errors/503.shtml
  222. ErrorDocument 504 /_errors/504.shtml
  223. ErrorDocument 505 /_errors/505.shtml
  224. ErrorDocument 506 /_errors/506.shtml
  225.  
  226. BrowserMatch "Mozilla/2" nokeepalive
  227. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  228. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  229. BrowserMatch "Java/1\.0" force-response-1.0
  230. BrowserMatch "JDK/1\.0" force-response-1.0
  231.  
  232. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  233. BrowserMatch "MS FrontPage" redirect-carefully
  234. BrowserMatch "^WebDrive" redirect-carefully
  235. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  236. BrowserMatch "^gnome-vfs" redirect-carefully
  237. BrowserMatch "^XML Spy" redirect-carefully
  238. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  239.  
  240. <Location /serverinfo>
  241. SetHandler server-info
  242. Order deny,allow
  243. Deny from all
  244. Allow from 127.0.0.1
  245. </Location>
  246.  
  247. <IfModule mod_ssl.c>
  248. Include conf/ssl.conf
  249. </IfModule>
  250.  
  251. include conf/vhosts.conf
  252. include conf/userdir.conf
  253.  
  254.  
  255. RequestHeader unset Range
  256. RequestHeader unset Request-Range
  257. TraceEnable Off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement