Advertisement
Guest User

Untitled

a guest
Sep 28th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.97 KB | None | 0 0
  1. ThreadsPerChild 250
  2. MaxRequestsPerChild 0
  3. ServerRoot "../_Server/apache"
  4. Listen 80
  5. LoadModule actions_module modules/mod_actions.so
  6. LoadModule alias_module modules/mod_alias.so
  7. LoadModule asis_module modules/mod_asis.so
  8. LoadModule auth_basic_module modules/mod_auth_basic.so
  9. LoadModule authn_default_module modules/mod_authn_default.so
  10. LoadModule authn_file_module modules/mod_authn_file.so
  11. LoadModule authz_default_module modules/mod_authz_default.so
  12. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  13. LoadModule authz_host_module modules/mod_authz_host.so
  14. LoadModule authz_user_module modules/mod_authz_user.so
  15. LoadModule cgi_module modules/mod_cgi.so
  16. LoadModule dav_module modules/mod_dav.so
  17. LoadModule dav_fs_module modules/mod_dav_fs.so
  18. LoadModule dir_module modules/mod_dir.so
  19. LoadModule env_module modules/mod_env.so
  20. LoadModule include_module modules/mod_include.so
  21. LoadModule info_module modules/mod_info.so
  22. LoadModule isapi_module modules/mod_isapi.so
  23. LoadModule ldap_module modules/mod_ldap.so
  24. LoadModule log_config_module modules/mod_log_config.so
  25. LoadModule mime_module modules/mod_mime.so
  26. LoadModule negotiation_module modules/mod_negotiation.so
  27. LoadModule setenvif_module modules/mod_setenvif.so
  28. LoadModule status_module modules/mod_status.so
  29. LoadModule ssl_module modules/mod_ssl.so
  30.  
  31. LoadModule autoindex_color_module modules/mod_autoindex_color.so
  32. ServerAdmin admin@localhost
  33. ServerName localhost:80
  34. DocumentRoot "../htdocs"
  35. <Directory />
  36. Options FollowSymLinks
  37. AllowOverride All
  38. Order deny,allow
  39. Deny from all
  40. </Directory>
  41. <Directory "../_Server/htdocs">
  42. Options Indexes FollowSymLinks Includes ExecCGI
  43. AllowOverride All
  44. Order allow,deny
  45. Allow from all
  46.  
  47. </Directory>
  48. <IfModule dir_module>
  49. DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml
  50. </IfModule>
  51. ErrorLog logs/error.log
  52. LogLevel warn
  53.  
  54. <IfModule log_config_module>
  55. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  56. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  57.  
  58. <IfModule logio_module>
  59. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  60. </IfModule>
  61. CustomLog logs/access.log common
  62. </IfModule>
  63.  
  64. <IfModule alias_module>
  65. ScriptAlias /cgi-bin/ "../_Server/cgi-bin/"
  66.  
  67. </IfModule>
  68. <Directory "../_Server/cgi-bin">
  69. AllowOverride None
  70. Options None
  71. Order allow,deny
  72. Allow from all
  73. </Directory>
  74. DefaultType text/plain
  75.  
  76. <IfModule mime_module>
  77. TypesConfig conf/mime.types
  78. AddType application/x-compress .Z
  79. AddType application/x-gzip .gz .tgz
  80. AddHandler cgi-script .cgi
  81. AddType text/html .shtml
  82. AddOutputFilter INCLUDES .shtml
  83. </IfModule>
  84. EnableMMAP off
  85. EnableSendfile off
  86. <IfModule alias_module>
  87. <IfModule mime_module>
  88. LoadModule php5_module "../apache/bin/php5apache2.dll"
  89. AddType application/x-httpd-php-source .phps
  90. AddType application/x-httpd-php .php .php5 .php4 .php3 .phtml
  91.  
  92. <Directory "../_Server/htdocs/xampplite">
  93. <IfModule php5_module>
  94. <Files "status.php">
  95. php_admin_flag safe_mode off
  96. </Files>
  97. </IfModule>
  98. </Directory>
  99.  
  100. Alias /security "../_Server/security/htdocs/"
  101. <Directory "../_Server/security/htdocs">
  102. <IfModule php5_module>
  103. <Files "xampplitesecurity.php">
  104. php_admin_flag safe_mode off
  105. </Files>
  106. </IfModule>
  107. AllowOverride AuthConfig
  108. Order allow,deny
  109. Allow from all
  110. </Directory>
  111.  
  112. Alias /phpmyadmin "../_Server/phpMyAdmin/"
  113. <Directory "../_Server/phpMyAdmin">
  114. AllowOverride AuthConfig
  115. Order allow,deny
  116. Allow from all
  117. </Directory>
  118.  
  119. Alias /webalizer "../_Server/webalizer/"
  120. <Directory "../_Server/webalizer">
  121. <IfModule php5_module>
  122. <Files "webalizer.php">
  123. php_admin_flag safe_mode off
  124. </Files>
  125. </IfModule>
  126. AllowOverride AuthConfig
  127. Order allow,deny
  128. Allow from all
  129. </Directory>
  130. </IfModule>
  131. </IfModule>
  132. <IfModule auth_remote_module>
  133. <Directory "../_Server/htdocs/fonts">
  134. AllowOverride All
  135. AuthType Basic
  136. AuthName "AUTH REMOTE TEST"
  137. AuthRemoteServer localhost
  138. AuthRemotePort 80
  139. AuthRemoteURL /forbidden/
  140. Require valid-user
  141. </Directory>
  142. </IfModule>
  143. <IfModule mysql_auth_module>
  144. <Location /restricted>
  145. AuthMySQLEnable On
  146. AuthName "MySQL Secured Place"
  147. AuthType Basic
  148. require valid-user
  149. AuthMySQLHost localhost
  150. AuthMySQLUser root
  151. AuthMySQLDB webauth
  152. AuthMySQLUserTable user_pwd
  153. AuthMySQLNameField name
  154. AuthMySQLPasswordField pass
  155. AuthMySQLPwEncryption none
  156. </Location>
  157. </IfModule>
  158.  
  159.  
  160. Alias /error/ "../_Server/apache/error/"
  161.  
  162. <Directory "../apache/error">
  163. AllowOverride None
  164. Options IncludesNoExec
  165. AddOutputFilter Includes html
  166. AddHandler type-map var
  167. Order allow,deny
  168. Allow from all
  169. LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
  170. ForceLanguagePriority Prefer Fallback
  171. </Directory>
  172.  
  173. ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  174. ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  175. ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  176. ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  177. ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  178. ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  179. ErrorDocument 410 /error/HTTP_GONE.html.var
  180. ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  181. ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  182. ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  183. ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  184. ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  185. ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  186. ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  187. ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  188. ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  189. ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
  190.  
  191.  
  192. IndexOptions FancyIndexing VersionSort
  193. Alias /icons/ "../_Server/apache/icons/"
  194.  
  195. <Directory "../_Server/apache/icons">
  196. Options Indexes MultiViews
  197. AllowOverride None
  198. Order allow,deny
  199. Allow from all
  200. </Directory>
  201. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  202.  
  203. AddIconByType (TXT,/icons/text.gif) text/*
  204. AddIconByType (IMG,/icons/image2.gif) image/*
  205. AddIconByType (SND,/icons/sound2.gif) audio/*
  206. AddIconByType (VID,/icons/movie.gif) video/*
  207.  
  208. AddIcon /icons/binary.gif .bin .exe
  209. AddIcon /icons/binhex.gif .hqx
  210. AddIcon /icons/tar.gif .tar
  211. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  212. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  213. AddIcon /icons/a.gif .ps .ai .eps
  214. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  215. AddIcon /icons/text.gif .txt
  216. AddIcon /icons/c.gif .c
  217. AddIcon /icons/p.gif .pl .py
  218. AddIcon /icons/f.gif .for
  219. AddIcon /icons/dvi.gif .dvi
  220. AddIcon /icons/uuencoded.gif .uu
  221. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  222. AddIcon /icons/tex.gif .tex
  223. AddIcon /icons/bomb.gif core
  224.  
  225. AddIcon /icons/back.gif ..
  226. AddIcon /icons/hand.right.gif README
  227. AddIcon /icons/folder.gif ^^DIRECTORY^^
  228. AddIcon /icons/blank.gif ^^BLANKICON^^
  229. DefaultIcon /icons/unknown.gif
  230. ReadmeName README.html
  231. HeaderName HEADER.html
  232. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  233.  
  234.  
  235. AddLanguage ca .ca
  236. AddLanguage cs .cz .cs
  237. AddLanguage da .dk
  238. AddLanguage de .de
  239. AddLanguage el .el
  240. AddLanguage en .en
  241. AddLanguage eo .eo
  242. AddLanguage es .es
  243. AddLanguage et .et
  244. AddLanguage fr .fr
  245. AddLanguage he .he
  246. AddLanguage hr .hr
  247. AddLanguage it .it
  248. AddLanguage ja .ja
  249. AddLanguage ko .ko
  250. AddLanguage ltz .ltz
  251. AddLanguage nl .nl
  252. AddLanguage nn .nn
  253. AddLanguage no .no
  254. AddLanguage pl .po
  255. AddLanguage pt .pt
  256. AddLanguage pt-BR .pt-br
  257. AddLanguage ru .ru
  258. AddLanguage sv .sv
  259. AddLanguage zh-CN .zh-cn
  260. AddLanguage zh-TW .zh-tw
  261. 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
  262. ForceLanguagePriority Prefer Fallback
  263. AddCharset us-ascii.ascii .us-ascii
  264. AddCharset ISO-8859-1 .iso8859-1 .latin1
  265. AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
  266. AddCharset ISO-8859-3 .iso8859-3 .latin3
  267. AddCharset ISO-8859-4 .iso8859-4 .latin4
  268. AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
  269. AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
  270. AddCharset ISO-8859-7 .iso8859-7 .grk .greek
  271. AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
  272. AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
  273. AddCharset ISO-8859-10 .iso8859-10 .latin6
  274. AddCharset ISO-8859-13 .iso8859-13
  275. AddCharset ISO-8859-14 .iso8859-14 .latin8
  276. AddCharset ISO-8859-15 .iso8859-15 .latin9
  277. AddCharset ISO-8859-16 .iso8859-16 .latin10
  278. AddCharset ISO-2022-JP .iso2022-jp .jis
  279. AddCharset ISO-2022-KR .iso2022-kr .kis
  280. AddCharset ISO-2022-CN .iso2022-cn .cis
  281. AddCharset Big5.Big5 .big5 .b5
  282. AddCharset cn-Big5 .cn-big5
  283. AddCharset WINDOWS-1251 .cp-1251 .win-1251
  284. AddCharset CP866 .cp866
  285. AddCharset KOI8 .koi8
  286. AddCharset KOI8-E .koi8-e
  287. AddCharset KOI8-r .koi8-r .koi8-ru
  288. AddCharset KOI8-U .koi8-u
  289. AddCharset KOI8-ru .koi8-uk .ua
  290. AddCharset ISO-10646-UCS-2 .ucs2
  291. AddCharset ISO-10646-UCS-4 .ucs4
  292. AddCharset UTF-7 .utf7
  293. AddCharset UTF-8 .utf8
  294. AddCharset UTF-16 .utf16
  295. AddCharset UTF-16BE .utf16be
  296. AddCharset UTF-16LE .utf16le
  297. AddCharset UTF-32 .utf32
  298. AddCharset UTF-32BE .utf32be
  299. AddCharset UTF-32LE .utf32le
  300. AddCharset euc-cn .euc-cn
  301. AddCharset euc-gb .euc-gb
  302. AddCharset euc-jp .euc-jp
  303. AddCharset euc-kr .euc-kr
  304. AddCharset EUC-TW .euc-tw
  305. AddCharset gb2312 .gb2312 .gb
  306. AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
  307. AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
  308. AddCharset shift_jis .shift_jis .sjis
  309.  
  310. <IfModule userdir_module>
  311. UserDir "My Documents/My Website"
  312. <Directory C:/Documents and Settings/*/"My Documents/My Website">
  313. AllowOverride FileInfo AuthConfig Limit Indexes
  314. Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  315. <Limit GET POST OPTIONS>
  316. Order allow,deny
  317. Allow from all
  318. </Limit>
  319. <LimitExcept GET POST OPTIONS>
  320. Order deny,allow
  321. Deny from all
  322. </LimitExcept>
  323. </Directory>
  324. </IfModule>
  325.  
  326.  
  327.  
  328. <Location /server-status>
  329. SetHandler server-status
  330. Order deny,allow
  331. Deny from all
  332. Allow from .example.com
  333. </Location>
  334. <Location /server-info>
  335. SetHandler server-info
  336. Order deny,allow
  337. Deny from all
  338. Allow from .example.com
  339. </Location>
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346. <IfModule dav_module>
  347. <IfModule dav_fs_module>
  348. <IfModule setenvif_module>
  349. <IfModule authn_file_module>
  350.  
  351. DavLockDB "../_Server/tmp/DavLock"
  352. Alias /webdav "../_Server/webdav"
  353.  
  354. <Directory "../_Server/webdav">
  355. Dav On
  356. Order allow,deny
  357. Allow from all
  358. AuthName DAV-upload
  359. AuthType Basic
  360. AuthUserFile "../_Server/security/htpasswd.webdav"
  361.  
  362. <LimitExcept GET HEAD OPTIONS>
  363. require valid-user
  364. </LimitExcept>
  365. </Directory>
  366. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  367. BrowserMatch "MS FrontPage" redirect-carefully
  368. BrowserMatch "^WebDrive" redirect-carefully
  369. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  370. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  371. BrowserMatch "^XML Spy" redirect-carefully
  372. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  373. BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
  374. </IfModule>
  375. </IfModule>
  376. </IfModule>
  377. </IfModule>
  378.  
  379.  
  380. Timeout 300
  381. KeepAlive On
  382. MaxKeepAliveRequests 100
  383. KeepAliveTimeout 5
  384. UseCanonicalName Off
  385. AccessFileName .htaccess
  386. ServerTokens Full
  387. ServerSignature On
  388. HostnameLookups Off
  389.  
  390. Listen 443
  391. AddType application/x-x509-ca-cert .crt
  392. AddType application/x-pkcs7-crl .crl
  393. SSLPassPhraseDialog builtin
  394. SSLSessionCache dbm:logs/ssl.scache
  395. SSLSessionCacheTimeout 300
  396. SSLMutex default
  397.  
  398. <VirtualHost _default_:443>
  399. DocumentRoot "../htdocs"
  400.  
  401. ServerName localhost:443
  402. ServerAdmin admin@localhost
  403.  
  404. ErrorLog logs/error.log
  405. <IfModule log_config_module>
  406. CustomLog logs/access.log combined
  407. </IfModule>
  408. SSLEngine on
  409. SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  410. SSLCertificateFile conf/ssl.crt/server.crt
  411. SSLCertificateKeyFile conf/ssl.key/server.key
  412. <Location />
  413. </Location>
  414. <FilesMatch "\.(cgi|shtml|phtml|php|php5|php4|php3)$">
  415. SSLOptions +StdEnvVars
  416. </FilesMatch>
  417. <Directory "../_Server/apache/cgi-bin">
  418. SSLOptions +StdEnvVars
  419. </Directory>
  420. <IfModule setenvif_module>
  421. BrowserMatch ".*MSIE.*" \
  422. nokeepalive ssl-unclean-shutdown \
  423. downgrade-1.0 force-response-1.0
  424. </IfModule>
  425. <IfModule log_config_module>
  426. CustomLog logs/ssl_request.log \
  427. "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
  428. </IfModule>
  429. </VirtualHost>
  430.  
  431. <IfModule ssl_module>
  432. SSLRandomSeed startup builtin
  433. SSLRandomSeed connect builtin
  434. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement