Advertisement
Guest User

Untitled

a guest
Sep 13th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.19 KB | None | 0 0
  1. ServerTokens OS
  2. ServerRoot "/etc/httpd"
  3. PidFile run/httpd.pid
  4. Timeout 60
  5. KeepAlive Off
  6. MaxKeepAliveRequests 100
  7. KeepAliveTimeout 15
  8. <IfModule prefork.c>
  9. StartServers 8
  10. MinSpareServers 5
  11. MaxSpareServers 20
  12. ServerLimit 256
  13. MaxClients 256
  14. MaxRequestsPerChild 4000
  15. </IfModule>
  16. <IfModule worker.c>
  17. StartServers 4
  18. MaxClients 300
  19. MinSpareThreads 25
  20. MaxSpareThreads 75
  21. ThreadsPerChild 25
  22. MaxRequestsPerChild 0
  23. </IfModule>
  24. Listen 80
  25. LoadModule auth_basic_module modules/mod_auth_basic.so
  26. LoadModule auth_digest_module modules/mod_auth_digest.so
  27. LoadModule authn_file_module modules/mod_authn_file.so
  28. LoadModule authn_alias_module modules/mod_authn_alias.so
  29. LoadModule authn_anon_module modules/mod_authn_anon.so
  30. LoadModule authn_dbm_module modules/mod_authn_dbm.so
  31. LoadModule authn_default_module modules/mod_authn_default.so
  32. LoadModule authz_host_module modules/mod_authz_host.so
  33. LoadModule authz_user_module modules/mod_authz_user.so
  34. LoadModule authz_owner_module modules/mod_authz_owner.so
  35. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  36. LoadModule authz_dbm_module modules/mod_authz_dbm.so
  37. LoadModule authz_default_module modules/mod_authz_default.so
  38. LoadModule ldap_module modules/mod_ldap.so
  39. LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  40. LoadModule include_module modules/mod_include.so
  41. LoadModule log_config_module modules/mod_log_config.so
  42. LoadModule logio_module modules/mod_logio.so
  43. LoadModule env_module modules/mod_env.so
  44. LoadModule ext_filter_module modules/mod_ext_filter.so
  45. LoadModule mime_magic_module modules/mod_mime_magic.so
  46. LoadModule expires_module modules/mod_expires.so
  47. LoadModule deflate_module modules/mod_deflate.so
  48. LoadModule headers_module modules/mod_headers.so
  49. LoadModule usertrack_module modules/mod_usertrack.so
  50. LoadModule setenvif_module modules/mod_setenvif.so
  51. LoadModule mime_module modules/mod_mime.so
  52. LoadModule dav_module modules/mod_dav.so
  53. LoadModule status_module modules/mod_status.so
  54. LoadModule autoindex_module modules/mod_autoindex.so
  55. LoadModule info_module modules/mod_info.so
  56. LoadModule dav_fs_module modules/mod_dav_fs.so
  57. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  58. LoadModule negotiation_module modules/mod_negotiation.so
  59. LoadModule dir_module modules/mod_dir.so
  60. LoadModule actions_module modules/mod_actions.so
  61. LoadModule speling_module modules/mod_speling.so
  62. LoadModule userdir_module modules/mod_userdir.so
  63. LoadModule alias_module modules/mod_alias.so
  64. LoadModule substitute_module modules/mod_substitute.so
  65. LoadModule rewrite_module modules/mod_rewrite.so
  66. LoadModule proxy_module modules/mod_proxy.so
  67. LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  68. LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  69. LoadModule proxy_http_module modules/mod_proxy_http.so
  70. LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
  71. LoadModule proxy_connect_module modules/mod_proxy_connect.so
  72. LoadModule cache_module modules/mod_cache.so
  73. LoadModule suexec_module modules/mod_suexec.so
  74. LoadModule disk_cache_module modules/mod_disk_cache.so
  75. LoadModule cgi_module modules/mod_cgi.so
  76. LoadModule version_module modules/mod_version.so
  77. Include conf.d/*.conf
  78. User apache
  79. Group apache
  80. ServerAdmin root@localhost
  81. UseCanonicalName Off
  82. DocumentRoot "/var/www/html"
  83. <Directory />
  84. Options FollowSymLinks
  85. AllowOverride None
  86. </Directory>
  87. <Directory "/var/www/html">
  88. Options Indexes FollowSymLinks
  89. AllowOverride None
  90. Order allow,deny
  91. Allow from all
  92. </Directory>
  93. <IfModule mod_userdir.c>
  94. #
  95. # UserDir is disabled by default since it can confirm the presence
  96. # of a username on the system (depending on home directory
  97. # permissions).
  98. #
  99. UserDir disabled
  100. #
  101. # To enable requests to /~user/ to serve the user's public_html
  102. # directory, remove the "UserDir disabled" line above, and uncomment
  103. # the following line instead:
  104. #
  105. #UserDir public_html
  106. </IfModule>
  107. DirectoryIndex index.html index.html.var
  108. AccessFileName .htaccess
  109. <Files ~ "^\.ht">
  110. Order allow,deny
  111. Deny from all
  112. Satisfy All
  113. </Files>
  114. TypesConfig /etc/mime.types
  115. DefaultType text/plain
  116. <IfModule mod_mime_magic.c>
  117. MIMEMagicFile conf/magic
  118. </IfModule>
  119. HostnameLookups Off
  120. ErrorLog logs/error_log
  121. LogLevel warn
  122. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  123. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  124. LogFormat "%{Referer}i -> %U" referer
  125. LogFormat "%{User-agent}i" agent
  126. CustomLog logs/access_log combined
  127. ServerSignature On
  128. Alias /icons/ "/var/www/icons/"
  129. <Directory "/var/www/icons">
  130. Options Indexes MultiViews FollowSymLinks
  131. AllowOverride None
  132. Order allow,deny
  133. Allow from all
  134. </Directory>
  135. <IfModule mod_dav_fs.c>
  136. # Location of the WebDAV lock database.
  137. DAVLockDB /var/lib/dav/lockdb
  138. </IfModule>
  139. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
  140. <Directory "/var/www/cgi-bin">
  141. AllowOverride None
  142. Options None
  143. Order allow,deny
  144. Allow from all
  145. </Directory>
  146. IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8
  147. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  148. AddIconByType (TXT,/icons/text.gif) text/*
  149. AddIconByType (IMG,/icons/image2.gif) image/*
  150. AddIconByType (SND,/icons/sound2.gif) audio/*
  151. AddIconByType (VID,/icons/movie.gif) video/*
  152. AddIcon /icons/binary.gif .bin .exe
  153. AddIcon /icons/binhex.gif .hqx
  154. AddIcon /icons/tar.gif .tar
  155. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  156. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  157. AddIcon /icons/a.gif .ps .ai .eps
  158. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  159. AddIcon /icons/text.gif .txt
  160. AddIcon /icons/c.gif .c
  161. AddIcon /icons/p.gif .pl .py
  162. AddIcon /icons/f.gif .for
  163. AddIcon /icons/dvi.gif .dvi
  164. AddIcon /icons/uuencoded.gif .uu
  165. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  166. AddIcon /icons/tex.gif .tex
  167. AddIcon /icons/bomb.gif /core
  168. AddIcon /icons/back.gif ..
  169. AddIcon /icons/hand.right.gif README
  170. AddIcon /icons/folder.gif ^^DIRECTORY^^
  171. AddIcon /icons/blank.gif ^^BLANKICON^^
  172. DefaultIcon /icons/unknown.gif
  173. ReadmeName README.html
  174. HeaderName HEADER.html
  175. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  176. AddLanguage ca .ca
  177. AddLanguage cs .cz .cs
  178. AddLanguage da .dk
  179. AddLanguage de .de
  180. AddLanguage el .el
  181. AddLanguage en .en
  182. AddLanguage eo .eo
  183. AddLanguage es .es
  184. AddLanguage et .et
  185. AddLanguage fr .fr
  186. AddLanguage he .he
  187. AddLanguage hr .hr
  188. AddLanguage it .it
  189. AddLanguage ja .ja
  190. AddLanguage ko .ko
  191. AddLanguage ltz .ltz
  192. AddLanguage nl .nl
  193. AddLanguage nn .nn
  194. AddLanguage no .no
  195. AddLanguage pl .po
  196. AddLanguage pt .pt
  197. AddLanguage pt-BR .pt-br
  198. AddLanguage ru .ru
  199. AddLanguage sv .sv
  200. AddLanguage zh-CN .zh-cn
  201. AddLanguage zh-TW .zh-tw
  202. 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
  203. ForceLanguagePriority Prefer Fallback
  204. AddDefaultCharset UTF-8
  205. AddType application/x-compress .Z
  206. AddType application/x-gzip .gz .tgz
  207. AddType application/x-x509-ca-cert .crt
  208. AddType application/x-pkcs7-crl .crl
  209. AddHandler type-map var
  210. AddType text/html .shtml
  211. AddOutputFilter INCLUDES .shtml
  212. Alias /error/ "/var/www/error/"
  213. <IfModule mod_negotiation.c>
  214. <IfModule mod_include.c>
  215. <Directory "/var/www/error">
  216. AllowOverride None
  217. Options IncludesNoExec
  218. AddOutputFilter Includes html
  219. AddHandler type-map var
  220. Order allow,deny
  221. Allow from all
  222. LanguagePriority en es de fr
  223. ForceLanguagePriority Prefer Fallback
  224. </Directory>
  225. </IfModule>
  226. </IfModule>
  227. BrowserMatch "Mozilla/2" nokeepalive
  228. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  229. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  230. BrowserMatch "Java/1\.0" force-response-1.0
  231. BrowserMatch "JDK/1\.0" force-response-1.0
  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/1.0" redirect-carefully
  237. BrowserMatch "^XML Spy" redirect-carefully
  238. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  239. SetEnv force-proxy-request-1.0 1
  240. SetEnv proxy-nokeepalive 1
  241. <IfModule mod_proxy.c>
  242. <Proxy *>
  243. Allow from 127.0.0.1
  244. </proxy>
  245. ProxyPreserveHost On
  246. ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8080/$1$2
  247. ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8080/$1$2
  248. ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8080/$1$2
  249. # optional mappings
  250. #ProxyPassMatch ^/flex2gateway/(.*)$ http://127.0.0.1:8888/flex2gateway/$1
  251. #ProxyPassMatch ^/messagebroker/(.*)$ http://127.0.0.1:8888/messagebroker/$1
  252. #ProxyPassMatch ^/flashservices/gateway(.*)$ http://127.0.0.1:8888/flashservices/gateway$1
  253. #ProxyPassMatch ^/openamf/gateway/(.*)$ http://127.0.0.1:8888/openamf/gateway/$1
  254. #ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1
  255. ProxyPassReverse / http://127.0.0.1:8080
  256. </IfModule>
  257. LoadModule modcfml_module modules/mod_cfml.so
  258. CFMLHandlers ".cfm .cfc .cfml"
  259. LogHeaders false
  260. LogHandlers false
  261. LogAliases false
  262. VDirHeader false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement