Advertisement
Guest User

Untitled

a guest
Feb 6th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.09 KB | None | 0 0
  1. ServerTokens OS
  2.  
  3. ServerRoot "/etc/httpd"
  4.  
  5. PidFile run/httpd.pid
  6.  
  7. Timeout 120
  8.  
  9. KeepAlive Off
  10.  
  11. MaxKeepAliveRequests 100
  12.  
  13. KeepAliveTimeout 15
  14.  
  15.  
  16. <IfModule prefork.c>
  17. StartServers 280
  18. MinSpareServers 100
  19. MaxSpareServers 300
  20. # ServerLimit 768
  21. # MaxClients 768
  22. # MaxRequestsPerChild 32000
  23. ServerLimit 384
  24. MaxClients 384
  25. MaxRequestsPerChild 8000
  26. </IfModule>
  27.  
  28.  
  29. <IfModule worker.c>
  30. StartServers 2
  31. MaxClients 150
  32. MinSpareThreads 25
  33. MaxSpareThreads 75
  34. ThreadsPerChild 25
  35. MaxRequestsPerChild 0
  36. </IfModule>
  37.  
  38. Listen 80
  39. Listen 28600
  40. #Listen 28700
  41.  
  42. LoadModule auth_basic_module modules/mod_auth_basic.so
  43. LoadModule auth_digest_module modules/mod_auth_digest.so
  44. LoadModule authn_file_module modules/mod_authn_file.so
  45. LoadModule authn_alias_module modules/mod_authn_alias.so
  46. LoadModule authn_anon_module modules/mod_authn_anon.so
  47. LoadModule authn_dbm_module modules/mod_authn_dbm.so
  48. LoadModule authn_default_module modules/mod_authn_default.so
  49. LoadModule authz_host_module modules/mod_authz_host.so
  50. LoadModule authz_user_module modules/mod_authz_user.so
  51. LoadModule authz_owner_module modules/mod_authz_owner.so
  52. LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
  53. LoadModule authz_dbm_module modules/mod_authz_dbm.so
  54. LoadModule authz_default_module modules/mod_authz_default.so
  55. LoadModule ldap_module modules/mod_ldap.so
  56. LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
  57. LoadModule include_module modules/mod_include.so
  58. LoadModule log_config_module modules/mod_log_config.so
  59. LoadModule logio_module modules/mod_logio.so
  60. LoadModule env_module modules/mod_env.so
  61. LoadModule ext_filter_module modules/mod_ext_filter.so
  62. LoadModule mime_magic_module modules/mod_mime_magic.so
  63. LoadModule expires_module modules/mod_expires.so
  64. LoadModule deflate_module modules/mod_deflate.so
  65. LoadModule headers_module modules/mod_headers.so
  66. LoadModule usertrack_module modules/mod_usertrack.so
  67. LoadModule setenvif_module modules/mod_setenvif.so
  68. LoadModule mime_module modules/mod_mime.so
  69. LoadModule dav_module modules/mod_dav.so
  70. LoadModule status_module modules/mod_status.so
  71. LoadModule autoindex_module modules/mod_autoindex.so
  72. LoadModule info_module modules/mod_info.so
  73. LoadModule dav_fs_module modules/mod_dav_fs.so
  74. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  75. LoadModule negotiation_module modules/mod_negotiation.so
  76. LoadModule dir_module modules/mod_dir.so
  77. LoadModule actions_module modules/mod_actions.so
  78. LoadModule speling_module modules/mod_speling.so
  79. LoadModule userdir_module modules/mod_userdir.so
  80. LoadModule alias_module modules/mod_alias.so
  81. LoadModule rewrite_module modules/mod_rewrite.so
  82. LoadModule proxy_module modules/mod_proxy.so
  83. LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
  84. LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
  85. LoadModule proxy_http_module modules/mod_proxy_http.so
  86. LoadModule proxy_connect_module modules/mod_proxy_connect.so
  87. LoadModule cache_module modules/mod_cache.so
  88. LoadModule suexec_module modules/mod_suexec.so
  89. # LoadModule disk_cache_module modules/mod_disk_cache.so
  90. # LoadModule file_cache_module modules/mod_file_cache.so
  91. # LoadModule mem_cache_module modules/mod_mem_cache.so
  92. LoadModule cgi_module modules/mod_cgi.so
  93. LoadModule version_module modules/mod_version.so
  94.  
  95. Include conf.d/*.conf
  96.  
  97.  
  98. ServerAdmin server@primosito.it
  99.  
  100. ServerName android.sevizi-it.net:80
  101.  
  102. UseCanonicalName Off
  103.  
  104. <Directory />
  105. Options FollowSymLinks
  106. AllowOverride None
  107. </Directory>
  108.  
  109. <Directory "/var/www/html">
  110. Options Indexes FollowSymLinks
  111.  
  112. AllowOverride All
  113.  
  114. Order allow,deny
  115. Allow from all
  116.  
  117. </Directory>
  118.  
  119. <IfModule mod_userdir.c>
  120.  
  121. UserDir disable
  122.  
  123. </IfModule>
  124.  
  125.  
  126. DirectoryIndex index.php index.html index.html.var default.html default.htm
  127.  
  128. AccessFileName .htaccess
  129.  
  130. <Files ~ "^\.ht">
  131. Order allow,deny
  132. Deny from all
  133. </Files>
  134.  
  135.  
  136. TypesConfig /etc/mime.types
  137.  
  138.  
  139. DefaultType text/plain
  140.  
  141. <IfModule mod_mime_magic.c>
  142. # MIMEMagicFile /usr/share/magic.mime
  143. MIMEMagicFile conf/magic
  144. </IfModule>
  145.  
  146. HostnameLookups Off
  147.  
  148. ErrorLog logs/error_log
  149.  
  150. LogLevel warn
  151.  
  152. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  153. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  154. LogFormat "%{Referer}i -> %U" referer
  155. LogFormat "%{User-agent}i" agent
  156.  
  157. CustomLog logs/access_log combined
  158.  
  159. ServerSignature On
  160.  
  161. Alias /icons/ "/var/www/icons/"
  162.  
  163. <Directory "/var/www/icons">
  164. Options Indexes MultiViews
  165. AllowOverride None
  166. Order allow,deny
  167. Allow from all
  168. </Directory>
  169.  
  170. <IfModule mod_dav_fs.c>
  171. # Location of the WebDAV lock database.
  172. DAVLockDB /var/lib/dav/lockdb
  173. </IfModule>
  174.  
  175. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
  176.  
  177. <Directory "/var/www/cgi-bin">
  178. AllowOverride None
  179. Options None
  180. Order allow,deny
  181. Allow from all
  182. </Directory>
  183.  
  184. IndexOptions FancyIndexing VersionSort NameWidth=* HTMLTable
  185.  
  186. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  187.  
  188. AddIconByType (TXT,/icons/text.gif) text/*
  189. AddIconByType (IMG,/icons/image2.gif) image/*
  190. AddIconByType (SND,/icons/sound2.gif) audio/*
  191. AddIconByType (VID,/icons/movie.gif) video/*
  192.  
  193. AddIcon /icons/binary.gif .bin .exe
  194. AddIcon /icons/binhex.gif .hqx
  195. AddIcon /icons/tar.gif .tar
  196. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
  197. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
  198. AddIcon /icons/a.gif .ps .ai .eps
  199. AddIcon /icons/layout.gif .html .shtml .htm .pdf
  200. AddIcon /icons/text.gif .txt
  201. AddIcon /icons/c.gif .c
  202. AddIcon /icons/p.gif .pl .py
  203. AddIcon /icons/f.gif .for
  204. AddIcon /icons/dvi.gif .dvi
  205. AddIcon /icons/uuencoded.gif .uu
  206. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
  207. AddIcon /icons/tex.gif .tex
  208. AddIcon /icons/bomb.gif core
  209.  
  210. AddIcon /icons/back.gif ..
  211. AddIcon /icons/hand.right.gif README
  212. AddIcon /icons/folder.gif ^^DIRECTORY^^
  213. AddIcon /icons/blank.gif ^^BLANKICON^^
  214.  
  215. DefaultIcon /icons/unknown.gif
  216.  
  217. ReadmeName README.html
  218. HeaderName HEADER.html
  219.  
  220.  
  221. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
  222.  
  223. AddLanguage ca .ca
  224. AddLanguage cs .cz .cs
  225. AddLanguage da .dk
  226. AddLanguage de .de
  227. AddLanguage el .el
  228. AddLanguage en .en
  229. AddLanguage eo .eo
  230. AddLanguage es .es
  231. AddLanguage et .et
  232. AddLanguage fr .fr
  233. AddLanguage he .he
  234. AddLanguage hr .hr
  235. AddLanguage it .it
  236. AddLanguage ja .ja
  237. AddLanguage ko .ko
  238. AddLanguage ltz .ltz
  239. AddLanguage nl .nl
  240. AddLanguage nn .nn
  241. AddLanguage no .no
  242. AddLanguage pl .po
  243. AddLanguage pt .pt
  244. AddLanguage pt-BR .pt-br
  245. AddLanguage ru .ru
  246. AddLanguage sv .sv
  247. AddLanguage zh-CN .zh-cn
  248. AddLanguage zh-TW .zh-tw
  249.  
  250. 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
  251.  
  252.  
  253. ForceLanguagePriority Prefer Fallback
  254.  
  255. AddDefaultCharset UTF-8
  256.  
  257. AddType application/x-compress .Z
  258. AddType application/x-gzip .gz .tgz
  259.  
  260. AddHandler type-map var
  261.  
  262.  
  263. AddType text/html .shtml
  264. AddOutputFilter INCLUDES .shtml
  265.  
  266. Alias /error/ "/var/www/error/"
  267.  
  268. <IfModule mod_negotiation.c>
  269. <IfModule mod_include.c>
  270. <Directory "/var/www/error">
  271. AllowOverride None
  272. Options IncludesNoExec
  273. AddOutputFilter Includes html
  274. AddHandler type-map var
  275. Order allow,deny
  276. Allow from all
  277. LanguagePriority en es de fr
  278. ForceLanguagePriority Prefer Fallback
  279. </Directory>
  280.  
  281. </IfModule>
  282. </IfModule>
  283.  
  284. BrowserMatch "Mozilla/2" nokeepalive
  285. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  286. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  287. BrowserMatch "Java/1\.0" force-response-1.0
  288. BrowserMatch "JDK/1\.0" force-response-1.0
  289.  
  290. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  291. BrowserMatch "MS FrontPage" redirect-carefully
  292. BrowserMatch "^WebDrive" redirect-carefully
  293. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  294. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  295. BrowserMatch "^XML Spy" redirect-carefully
  296. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  297.  
  298. NameVirtualHost *:80
  299. NameVirtualHost *:28600
  300.  
  301. <VirtualHost *:28600>
  302. ServerAdmin server@primosito.it
  303. DocumentRoot /var/www/html/servizi
  304. ServerName sito.prova.net
  305. ErrorLog logs/sito.prova.net-error_log
  306. CustomLog logs/sito.prova.net-access_log common
  307. Alias /phpmyadmin /usr/share/phpmyadmin
  308. Alias /phpMyAdmin /usr/share/phpmyadmin
  309. Alias /mysqladmin /usr/share/phpmyadmin
  310. php_admin_flag eaccelerator.enable on
  311. php_admin_flag eaccelerator.optimizer on
  312. </VirtualHost>
  313.  
  314. <VirtualHost *:80>
  315. ServerAdmin server@primosito.it
  316. DocumentRoot /var/www/html/primosito.it
  317. ServerName sito.prova.net
  318. ErrorLog logs/primosito.it-error_log
  319. CustomLog logs/primosito.it-access_log common
  320. php_admin_flag eaccelerator.enable on
  321. php_admin_flag eaccelerator.optimizer on
  322. </VirtualHost>
  323.  
  324. <VirtualHost *:80>
  325. ServerAdmin server@primosito.it
  326. DocumentRoot /var/www/html/primosito.it
  327. ServerName www.primosito.it
  328. ErrorLog logs/primosito.it-error_log
  329. CustomLog logs/primosito.it-access_log common
  330. php_admin_flag eaccelerator.enable on
  331. php_admin_flag eaccelerator.optimizer on
  332. </VirtualHost>
  333.  
  334. <VirtualHost *:80>
  335. ServerAdmin server@primosito.it
  336. DocumentRoot /var/www/html/primosito.it
  337. ServerName primosito.it
  338. ErrorLog logs/primosito.it-error_log
  339. CustomLog logs/primosito.it-access_log common
  340. php_admin_flag eaccelerator.enable on
  341. php_admin_flag eaccelerator.optimizer on
  342. Redirect permanent / http://www.primosito.it/
  343. </VirtualHost>
  344.  
  345. <VirtualHost *:80>
  346. ServerAdmin server@primosito.it
  347. DocumentRoot /var/www/html/secondosito.it
  348. ServerName chrome.servizi-it.net
  349. ErrorLog logs/secondosito.it-error_log
  350. CustomLog logs/secondosito.it-access_log common
  351. CustomLog logs/secondosito.it-combinedaccess_log combined
  352. php_admin_flag eaccelerator.enable on
  353. php_admin_flag eaccelerator.optimizer on
  354. </VirtualHost>
  355.  
  356. <VirtualHost *:80>
  357. ServerAdmin server@primosito.it
  358. DocumentRoot /var/www/html/secondosito.it
  359. ServerName www.secondosito.it
  360. ErrorLog logs/secondosito.it-error_log
  361. CustomLog logs/secondosito.it-access_log common
  362. php_admin_flag eaccelerator.enable on
  363. php_admin_flag eaccelerator.optimizer on
  364. </VirtualHost>
  365.  
  366. <VirtualHost *:80>
  367. ServerAdmin server@primosito.it
  368. DocumentRoot /var/www/html/secondosito.it
  369. ServerName secondosito.it
  370. ErrorLog logs/secondosito.it-error_log
  371. CustomLog logs/secondosito.it-access_log common
  372. php_admin_flag eaccelerator.enable on
  373. php_admin_flag eaccelerator.optimizer on
  374. Redirect permanent / http://www.secondosito.it/
  375. </VirtualHost>
  376.  
  377. <VirtualHost *:80>
  378. ServerAdmin server@primosito.it
  379. DocumentRoot /var/www/html
  380. ServerName 84.23.230.216
  381. ErrorLog logs/error_log
  382. CustomLog logs/access_log common
  383. Redirect permanent / http://www.primosito.it/
  384. </VirtualHost>
  385.  
  386. <VirtualHost *:28600>
  387. ServerAdmin server@primosito.it
  388. DocumentRoot /var/www/html
  389. ServerName 84.23.230.216
  390. ErrorLog logs/error_log
  391. CustomLog logs/access_log common
  392. Redirect permanent / http://www.primosito.it/
  393. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement