Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.21 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. UserDir disabled
  95. </IfModule>
  96. DirectoryIndex index.html index.html.var
  97. AccessFileName .htaccess
  98. <Files ~ "^\.ht">
  99. Order allow,deny
  100. Deny from all
  101. Satisfy All
  102. </Files>
  103. TypesConfig /etc/mime.types
  104. DefaultType text/plain
  105. <IfModule mod_mime_magic.c>
  106. MIMEMagicFile conf/magic
  107. </IfModule>
  108. HostnameLookups Off
  109. ErrorLog logs/error_log
  110. LogLevel warn
  111. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  112. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  113. LogFormat "%{Referer}i -> %U" referer
  114. LogFormat "%{User-agent}i" agent
  115. CustomLog logs/access_log combined
  116. ServerSignature On
  117. Alias /icons/ "/var/www/icons/"
  118. <Directory "/var/www/icons">
  119. Options Indexes MultiViews FollowSymLinks
  120. AllowOverride None
  121. Order allow,deny
  122. Allow from all
  123. </Directory>
  124. <IfModule mod_dav_fs.c>
  125. DAVLockDB /var/lib/dav/lockdb
  126. </IfModule>
  127. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
  128. <Directory "/var/www/cgi-bin">
  129. AllowOverride None
  130. Options None
  131. Order allow,deny
  132. Allow from all
  133. </Directory>
  134. IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable Charset=UTF-8
  135. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  136. AddIconByType (TXT,/icons/text.gif) text/*
  137. AddIconByType (IMG,/icons/image2.gif) image/*
  138. AddIconByType (SND,/icons/sound2.gif) audio/*
  139. AddIconByType (VID,/icons/movie.gif) video/*
  140. AddIcon /icons/binary.gif .bin .exe
  141. AddIcon /icons/binhex.gif .hqx
  142. AddIcon /icons/tar.gif .tar
  143. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  144. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  145. AddIcon /icons/a.gif .ps .ai .eps
  146. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  147. AddIcon /icons/text.gif .txt
  148. AddIcon /icons/c.gif .c
  149. AddIcon /icons/p.gif .pl .py
  150. AddIcon /icons/f.gif .for
  151. AddIcon /icons/dvi.gif .dvi
  152. AddIcon /icons/uuencoded.gif .uu
  153. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  154. AddIcon /icons/tex.gif .tex
  155. AddIcon /icons/bomb.gif /core
  156. AddIcon /icons/back.gif ..
  157. AddIcon /icons/hand.right.gif README
  158. AddIcon /icons/folder.gif ^^DIRECTORY^^
  159. AddIcon /icons/blank.gif ^^BLANKICON^^
  160. DefaultIcon /icons/unknown.gif
  161. ReadmeName README.html
  162. HeaderName HEADER.html
  163. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  164. AddLanguage ca .ca
  165. AddLanguage cs .cz .cs
  166. AddLanguage da .dk
  167. AddLanguage de .de
  168. AddLanguage el .el
  169. AddLanguage en .en
  170. AddLanguage eo .eo
  171. AddLanguage es .es
  172. AddLanguage et .et
  173. AddLanguage fr .fr
  174. AddLanguage he .he
  175. AddLanguage hr .hr
  176. AddLanguage it .it
  177. AddLanguage ja .ja
  178. AddLanguage ko .ko
  179. AddLanguage ltz .ltz
  180. AddLanguage nl .nl
  181. AddLanguage nn .nn
  182. AddLanguage no .no
  183. AddLanguage pl .po
  184. AddLanguage pt .pt
  185. AddLanguage pt-BR .pt-br
  186. AddLanguage ru .ru
  187. AddLanguage sv .sv
  188. AddLanguage zh-CN .zh-cn
  189. AddLanguage zh-TW .zh-tw
  190. 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
  191. ForceLanguagePriority Prefer Fallback
  192. AddDefaultCharset UTF-8
  193. AddType application/x-compress .Z
  194. AddType application/x-gzip .gz .tgz
  195. AddType application/x-x509-ca-cert .crt
  196. AddType application/x-pkcs7-crl .crl
  197. AddHandler type-map var
  198. AddType text/html .shtml
  199. AddOutputFilter INCLUDES .shtml
  200. Alias /error/ "/var/www/error/"
  201. <IfModule mod_negotiation.c>
  202. <IfModule mod_include.c>
  203. <Directory "/var/www/error">
  204. AllowOverride None
  205. Options IncludesNoExec
  206. AddOutputFilter Includes html
  207. AddHandler type-map var
  208. Order allow,deny
  209. Allow from all
  210. LanguagePriority en es de fr
  211. ForceLanguagePriority Prefer Fallback
  212. </Directory>
  213. </IfModule>
  214. </IfModule>
  215. BrowserMatch "Mozilla/2" nokeepalive
  216. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  217. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  218. BrowserMatch "Java/1\.0" force-response-1.0
  219. BrowserMatch "JDK/1\.0" force-response-1.0
  220. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  221. BrowserMatch "MS FrontPage" redirect-carefully
  222. BrowserMatch "^WebDrive" redirect-carefully
  223. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  224. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  225. BrowserMatch "^XML Spy" redirect-carefully
  226. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  227. SetEnv force-proxy-request-1.0 1
  228. SetEnv proxy-nokeepalive 1
  229. <IfModule mod_proxy.c>
  230. <Proxy *>
  231. Allow from 127.0.0.1
  232. </proxy>
  233. ProxyPreserveHost On
  234. ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://127.0.0.1:8009/lucee5/
  235. ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ ajp://127.0.0.1:8009/lucee5/
  236. ProxyPassMatch ^/(.+\.cfml)(/.*)?$ ajp://127.0.0.1:8009/lucee5/
  237. ProxyPassReverse / http://127.0.0.1:8080/lucee5/
  238. </IfModule>
  239. [root@lucee localhost]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement