gkaroly

Untitled

Dec 21st, 2020
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.58 KB | None | 0 0
  1. <Directory /var/www/tegyjot.hu>
  2. AllowOverride None
  3. Require all denied
  4. </Directory>
  5.  
  6. <VirtualHost *:80>
  7.  
  8.  
  9. DocumentRoot /var/www/clients/client1/web1/web
  10.  
  11. ServerName tegyjot.hu
  12. ServerAlias www.tegyjot.hu
  13. ServerAlias www.adomany-bank.hu adomany-bank.hu
  14. ServerAlias www.kozoserovel.hu kozoserovel.hu
  15. ServerAlias www.tegy-jot.hu tegy-jot.hu
  16. ServerAlias www.tegyjot-shop.hu tegyjot-shop.hu
  17. ServerAlias www.tegyjot.com tegyjot.com
  18. ServerAlias www.tegyjotalapitvany.hu tegyjotalapitvany.hu
  19. ServerAlias www.tennijo.hu tennijo.hu
  20. ServerAlias www.xn--tgy-jt-bva8f.hu xn--tgy-jt-bva8f.hu
  21. ServerAlias www.xn--tgyjt-bsa7e.hu xn--tgyjt-bsa7e.hu
  22. ServerAdmin [email protected]
  23.  
  24.  
  25. ErrorLog /var/log/ispconfig/httpd/tegyjot.hu/error.log
  26.  
  27. Alias /error/ "/var/www/tegyjot.hu/web/error/"
  28. ErrorDocument 400 /error/400.html
  29. ErrorDocument 401 /error/401.html
  30. ErrorDocument 403 /error/403.html
  31. ErrorDocument 404 /error/404.html
  32. ErrorDocument 405 /error/405.html
  33. ErrorDocument 500 /error/500.html
  34. ErrorDocument 502 /error/502.html
  35. ErrorDocument 503 /error/503.html
  36.  
  37.  
  38. <Directory /var/www/tegyjot.hu/web>
  39. # Clear PHP settings of this website
  40. <FilesMatch ".+\.ph(p[345]?|t|tml)$">
  41. SetHandler None
  42. </FilesMatch>
  43. Options +SymlinksIfOwnerMatch
  44. AllowOverride All
  45. Require all granted
  46. </Directory>
  47. <Directory /var/www/clients/client1/web1/web>
  48. # Clear PHP settings of this website
  49. <FilesMatch ".+\.ph(p[345]?|t|tml)$">
  50. SetHandler None
  51. </FilesMatch>
  52. Options +SymlinksIfOwnerMatch
  53. AllowOverride All
  54. Require all granted
  55. </Directory>
  56.  
  57.  
  58.  
  59.  
  60. # suexec enabled
  61. <IfModule mod_suexec.c>
  62. SuexecUserGroup web1 client1
  63. </IfModule>
  64. <IfModule mod_fastcgi.c>
  65. <Directory /var/www/clients/client1/web1/cgi-bin>
  66. Require all granted
  67. </Directory>
  68. <Directory /var/www/tegyjot.hu/web>
  69. <FilesMatch "\.php[345]?$">
  70. <If "-f '%{REQUEST_FILENAME}'">
  71. SetHandler php-fcgi
  72. </If>
  73. </FilesMatch>
  74. </Directory>
  75. <Directory /var/www/clients/client1/web1/web>
  76. <FilesMatch "\.php[345]?$">
  77. <If "-f '%{REQUEST_FILENAME}'">
  78. SetHandler php-fcgi
  79. </If>
  80. </FilesMatch>
  81. </Directory>
  82. Action php-fcgi /php-fcgi virtual
  83. Alias /php-fcgi /var/www/clients/client1/web1/cgi-bin/php-fcgi-*-80-tegyjot.hu
  84. FastCgiExternalServer /var/www/clients/client1/web1/cgi-bin/php-fcgi-*-80-tegyjot.hu -idle-timeout 300 -socket /var/lib/php7.3-fpm/web1.sock -pass-header Authorization -pass-header Content-Type
  85. </IfModule>
  86. <IfModule mod_proxy_fcgi.c>
  87. #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php7.3-fpm/web1.sock|fcgi://localhost//var/www/clients/client1/web1/web/$1
  88. <Directory /var/www/clients/client1/web1/web>
  89. <FilesMatch "\.php[345]?$">
  90. <If "-f '%{REQUEST_FILENAME}'">
  91. SetHandler "proxy:unix:/var/lib/php7.3-fpm/web1.sock|fcgi://localhost"
  92. </If>
  93. </FilesMatch>
  94. </Directory>
  95. </IfModule>
  96.  
  97.  
  98. RewriteEngine on
  99. RewriteCond %{REQUEST_URI} ^/\.well-known/acme-challenge/
  100. RewriteRule ^ - [END]
  101. RewriteCond %{HTTP_HOST} ^www\.tegyjot\.hu$ [NC]
  102. RewriteRule ^(.*)$ http://tegyjot.hu$1 [R=301,NE,L]
  103. RewriteCond %{HTTP_HOST} ^www\.adomany-bank\.hu$ [NC]
  104. RewriteRule ^(.*)$ http://adomany-bank.hu$1 [R=301,NE,L]
  105. RewriteCond %{HTTP_HOST} ^www\.kozoserovel\.hu$ [NC]
  106. RewriteRule ^(.*)$ http://kozoserovel.hu$1 [R=301,NE,L]
  107. RewriteCond %{HTTP_HOST} ^www\.tegy-jot\.hu$ [NC]
  108. RewriteRule ^(.*)$ http://tegy-jot.hu$1 [R=301,NE,L]
  109. RewriteCond %{HTTP_HOST} ^www\.tegyjot-shop\.hu$ [NC]
  110. RewriteRule ^(.*)$ http://tegyjot-shop.hu$1 [R=301,NE,L]
  111. RewriteCond %{HTTP_HOST} ^www\.tegyjot\.com$ [NC]
  112. RewriteRule ^(.*)$ http://tegyjot.com$1 [R=301,NE,L]
  113. RewriteCond %{HTTP_HOST} ^www\.tegyjotalapitvany\.hu$ [NC]
  114. RewriteRule ^(.*)$ http://tegyjotalapitvany.hu$1 [R=301,NE,L]
  115. RewriteCond %{HTTP_HOST} ^www\.tennijo\.hu$ [NC]
  116. RewriteRule ^(.*)$ http://tennijo.hu$1 [R=301,NE,L]
  117. RewriteCond %{HTTP_HOST} ^www\.xn--tgy-jt-bva8f\.hu$ [NC]
  118. RewriteRule ^(.*)$ http://xn--tgy-jt-bva8f.hu$1 [R=301,NE,L]
  119. RewriteCond %{HTTP_HOST} ^www\.xn--tgyjt-bsa7e\.hu$ [NC]
  120. RewriteRule ^(.*)$ http://xn--tgyjt-bsa7e.hu$1 [R=301,NE,L]
  121. RewriteCond %{HTTP_HOST} ^adomany-bank\.hu$ [NC]
  122.  
  123. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  124.  
  125. RewriteCond %{HTTP_HOST} ^www\.adomany-bank\.hu$ [NC]
  126.  
  127. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  128.  
  129. RewriteCond %{HTTP_HOST} ^kozoserovel\.hu$ [NC]
  130.  
  131. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  132.  
  133. RewriteCond %{HTTP_HOST} ^www\.kozoserovel\.hu$ [NC]
  134.  
  135. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  136.  
  137. RewriteCond %{HTTP_HOST} ^tegy-jot\.hu$ [NC]
  138.  
  139. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  140.  
  141. RewriteCond %{HTTP_HOST} ^www\.tegy-jot\.hu$ [NC]
  142.  
  143. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  144.  
  145. RewriteCond %{HTTP_HOST} ^tegyjot-shop\.hu$ [NC]
  146.  
  147. RewriteRule ^/(.*)$ https://tegyjot.hu/webshop/$1 [R=301,L]
  148.  
  149. RewriteCond %{HTTP_HOST} ^www\.tegyjot-shop\.hu$ [NC]
  150.  
  151. RewriteRule ^/(.*)$ https://tegyjot.hu/webshop/$1 [R=301,L]
  152.  
  153. RewriteCond %{HTTP_HOST} ^tegyjot\.com$ [NC]
  154.  
  155. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  156.  
  157. RewriteCond %{HTTP_HOST} ^www\.tegyjot\.com$ [NC]
  158.  
  159. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  160.  
  161. RewriteCond %{HTTP_HOST} ^tegyjotalapitvany\.hu$ [NC]
  162.  
  163. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  164.  
  165. RewriteCond %{HTTP_HOST} ^www\.tegyjotalapitvany\.hu$ [NC]
  166.  
  167. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  168.  
  169. RewriteCond %{HTTP_HOST} ^tennijo\.hu$ [NC]
  170.  
  171. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  172.  
  173. RewriteCond %{HTTP_HOST} ^www\.tennijo\.hu$ [NC]
  174.  
  175. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  176.  
  177. RewriteCond %{HTTP_HOST} ^xn--tgy-jt-bva8f\.hu$ [NC]
  178.  
  179. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  180.  
  181. RewriteCond %{HTTP_HOST} ^www\.xn--tgy-jt-bva8f\.hu$ [NC]
  182.  
  183. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  184.  
  185. RewriteCond %{HTTP_HOST} ^xn--tgyjt-bsa7e\.hu$ [NC]
  186.  
  187. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  188.  
  189. RewriteCond %{HTTP_HOST} ^www\.xn--tgyjt-bsa7e\.hu$ [NC]
  190.  
  191. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  192.  
  193. RewriteCond %{HTTPS} off
  194. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L,NE]
  195.  
  196. # add support for apache mpm_itk
  197. <IfModule mpm_itk_module>
  198. AssignUserId web1 client1
  199. </IfModule>
  200.  
  201. <IfModule mod_dav_fs.c>
  202. # Do not execute PHP files in webdav directory
  203. <Directory /var/www/clients/client1/web1/webdav>
  204. <ifModule mod_security2.c>
  205. SecRuleRemoveById 960015
  206. SecRuleRemoveById 960032
  207. </ifModule>
  208. <FilesMatch "\.ph(p3?|tml)$">
  209. SetHandler None
  210. </FilesMatch>
  211. </Directory>
  212. DavLockDB /var/www/clients/client1/web1/tmp/DavLock
  213. # DO NOT REMOVE THE COMMENTS!
  214. # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  215. # WEBDAV BEGIN
  216. # WEBDAV END
  217. </IfModule>
  218.  
  219. # skipping apache_directives, as that will be handled by the ssl vhost
  220.  
  221.  
  222. </VirtualHost>
  223.  
  224.  
  225. <VirtualHost *:443>
  226.  
  227.  
  228. DocumentRoot /var/www/clients/client1/web1/web
  229.  
  230. ServerName tegyjot.hu
  231. ServerAlias www.tegyjot.hu
  232. ServerAlias www.adomany-bank.hu adomany-bank.hu
  233. ServerAlias www.kozoserovel.hu kozoserovel.hu
  234. ServerAlias www.tegy-jot.hu tegy-jot.hu
  235. ServerAlias www.tegyjot-shop.hu tegyjot-shop.hu
  236. ServerAlias www.tegyjot.com tegyjot.com
  237. ServerAlias www.tegyjotalapitvany.hu tegyjotalapitvany.hu
  238. ServerAlias www.tennijo.hu tennijo.hu
  239. ServerAlias www.xn--tgy-jt-bva8f.hu xn--tgy-jt-bva8f.hu
  240. ServerAlias www.xn--tgyjt-bsa7e.hu xn--tgyjt-bsa7e.hu
  241. ServerAdmin [email protected]
  242.  
  243. <IfModule mod_http2.c>
  244. Protocols h2 http/1.1
  245. </IfModule>
  246.  
  247. ErrorLog /var/log/ispconfig/httpd/tegyjot.hu/error.log
  248.  
  249. Alias /error/ "/var/www/tegyjot.hu/web/error/"
  250. ErrorDocument 400 /error/400.html
  251. ErrorDocument 401 /error/401.html
  252. ErrorDocument 403 /error/403.html
  253. ErrorDocument 404 /error/404.html
  254. ErrorDocument 405 /error/405.html
  255. ErrorDocument 500 /error/500.html
  256. ErrorDocument 502 /error/502.html
  257. ErrorDocument 503 /error/503.html
  258.  
  259. <IfModule mod_ssl.c>
  260. SSLEngine on
  261. SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
  262. # SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
  263. SSLHonorCipherOrder on
  264. # <IfModule mod_headers.c>
  265. # Header always add Strict-Transport-Security "max-age=15768000"
  266. # </IfModule>
  267. SSLCertificateFile /var/www/clients/client1/web1/ssl/tegyjot.hu.crt
  268. SSLCertificateKeyFile /var/www/clients/client1/web1/ssl/tegyjot.hu.key
  269. SSLUseStapling on
  270. SSLStaplingResponderTimeout 5
  271. SSLStaplingReturnResponderErrors off
  272. </IfModule>
  273.  
  274. <Directory /var/www/tegyjot.hu/web>
  275. # Clear PHP settings of this website
  276. <FilesMatch ".+\.ph(p[345]?|t|tml)$">
  277. SetHandler None
  278. </FilesMatch>
  279. Options +SymlinksIfOwnerMatch
  280. AllowOverride All
  281. Require all granted
  282. </Directory>
  283. <Directory /var/www/clients/client1/web1/web>
  284. # Clear PHP settings of this website
  285. <FilesMatch ".+\.ph(p[345]?|t|tml)$">
  286. SetHandler None
  287. </FilesMatch>
  288. Options +SymlinksIfOwnerMatch
  289. AllowOverride All
  290. Require all granted
  291. </Directory>
  292.  
  293.  
  294.  
  295.  
  296. # suexec enabled
  297. <IfModule mod_suexec.c>
  298. SuexecUserGroup web1 client1
  299. </IfModule>
  300. <IfModule mod_fastcgi.c>
  301. <Directory /var/www/clients/client1/web1/cgi-bin>
  302. Require all granted
  303. </Directory>
  304. <Directory /var/www/tegyjot.hu/web>
  305. <FilesMatch "\.php[345]?$">
  306. <If "-f '%{REQUEST_FILENAME}'">
  307. SetHandler php-fcgi
  308. </If>
  309. </FilesMatch>
  310. </Directory>
  311. <Directory /var/www/clients/client1/web1/web>
  312. <FilesMatch "\.php[345]?$">
  313. <If "-f '%{REQUEST_FILENAME}'">
  314. SetHandler php-fcgi
  315. </If>
  316. </FilesMatch>
  317. </Directory>
  318. Action php-fcgi /php-fcgi virtual
  319. Alias /php-fcgi /var/www/clients/client1/web1/cgi-bin/php-fcgi-*-443-tegyjot.hu
  320. FastCgiExternalServer /var/www/clients/client1/web1/cgi-bin/php-fcgi-*-443-tegyjot.hu -idle-timeout 300 -socket /var/lib/php7.3-fpm/web1.sock -pass-header Authorization -pass-header Content-Type
  321. </IfModule>
  322. <IfModule mod_proxy_fcgi.c>
  323. #ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php7.3-fpm/web1.sock|fcgi://localhost//var/www/clients/client1/web1/web/$1
  324. <Directory /var/www/clients/client1/web1/web>
  325. <FilesMatch "\.php[345]?$">
  326. <If "-f '%{REQUEST_FILENAME}'">
  327. SetHandler "proxy:unix:/var/lib/php7.3-fpm/web1.sock|fcgi://localhost"
  328. </If>
  329. </FilesMatch>
  330. </Directory>
  331. </IfModule>
  332.  
  333.  
  334. RewriteEngine on
  335. RewriteCond %{REQUEST_URI} ^/\.well-known/acme-challenge/
  336. RewriteRule ^ - [END]
  337. RewriteCond %{HTTP_HOST} ^www\.tegyjot\.hu$ [NC]
  338. RewriteRule ^(.*)$ https://tegyjot.hu$1 [R=301,NE,L]
  339. RewriteCond %{HTTP_HOST} ^www\.adomany-bank\.hu$ [NC]
  340. RewriteRule ^(.*)$ https://adomany-bank.hu$1 [R=301,NE,L]
  341. RewriteCond %{HTTP_HOST} ^www\.kozoserovel\.hu$ [NC]
  342. RewriteRule ^(.*)$ https://kozoserovel.hu$1 [R=301,NE,L]
  343. RewriteCond %{HTTP_HOST} ^www\.tegy-jot\.hu$ [NC]
  344. RewriteRule ^(.*)$ https://tegy-jot.hu$1 [R=301,NE,L]
  345. RewriteCond %{HTTP_HOST} ^www\.tegyjot-shop\.hu$ [NC]
  346. RewriteRule ^(.*)$ https://tegyjot-shop.hu$1 [R=301,NE,L]
  347. RewriteCond %{HTTP_HOST} ^www\.tegyjot\.com$ [NC]
  348. RewriteRule ^(.*)$ https://tegyjot.com$1 [R=301,NE,L]
  349. RewriteCond %{HTTP_HOST} ^www\.tegyjotalapitvany\.hu$ [NC]
  350. RewriteRule ^(.*)$ https://tegyjotalapitvany.hu$1 [R=301,NE,L]
  351. RewriteCond %{HTTP_HOST} ^www\.tennijo\.hu$ [NC]
  352. RewriteRule ^(.*)$ https://tennijo.hu$1 [R=301,NE,L]
  353. RewriteCond %{HTTP_HOST} ^www\.xn--tgy-jt-bva8f\.hu$ [NC]
  354. RewriteRule ^(.*)$ https://xn--tgy-jt-bva8f.hu$1 [R=301,NE,L]
  355. RewriteCond %{HTTP_HOST} ^www\.xn--tgyjt-bsa7e\.hu$ [NC]
  356. RewriteRule ^(.*)$ https://xn--tgyjt-bsa7e.hu$1 [R=301,NE,L]
  357. RewriteCond %{HTTP_HOST} ^adomany-bank\.hu$ [NC]
  358.  
  359. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  360.  
  361. RewriteCond %{HTTP_HOST} ^www\.adomany-bank\.hu$ [NC]
  362.  
  363. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  364.  
  365. RewriteCond %{HTTP_HOST} ^kozoserovel\.hu$ [NC]
  366.  
  367. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  368.  
  369. RewriteCond %{HTTP_HOST} ^www\.kozoserovel\.hu$ [NC]
  370.  
  371. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  372.  
  373. RewriteCond %{HTTP_HOST} ^tegy-jot\.hu$ [NC]
  374.  
  375. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  376.  
  377. RewriteCond %{HTTP_HOST} ^www\.tegy-jot\.hu$ [NC]
  378.  
  379. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  380.  
  381. RewriteCond %{HTTP_HOST} ^tegyjot-shop\.hu$ [NC]
  382.  
  383. RewriteRule ^/(.*)$ https://tegyjot.hu/webshop/$1 [R=301,L]
  384.  
  385. RewriteCond %{HTTP_HOST} ^www\.tegyjot-shop\.hu$ [NC]
  386.  
  387. RewriteRule ^/(.*)$ https://tegyjot.hu/webshop/$1 [R=301,L]
  388.  
  389. RewriteCond %{HTTP_HOST} ^tegyjot\.com$ [NC]
  390.  
  391. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  392.  
  393. RewriteCond %{HTTP_HOST} ^www\.tegyjot\.com$ [NC]
  394.  
  395. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  396.  
  397. RewriteCond %{HTTP_HOST} ^tegyjotalapitvany\.hu$ [NC]
  398.  
  399. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  400.  
  401. RewriteCond %{HTTP_HOST} ^www\.tegyjotalapitvany\.hu$ [NC]
  402.  
  403. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  404.  
  405. RewriteCond %{HTTP_HOST} ^tennijo\.hu$ [NC]
  406.  
  407. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  408.  
  409. RewriteCond %{HTTP_HOST} ^www\.tennijo\.hu$ [NC]
  410.  
  411. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  412.  
  413. RewriteCond %{HTTP_HOST} ^xn--tgy-jt-bva8f\.hu$ [NC]
  414.  
  415. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  416.  
  417. RewriteCond %{HTTP_HOST} ^www\.xn--tgy-jt-bva8f\.hu$ [NC]
  418.  
  419. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  420.  
  421. RewriteCond %{HTTP_HOST} ^xn--tgyjt-bsa7e\.hu$ [NC]
  422.  
  423. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  424.  
  425. RewriteCond %{HTTP_HOST} ^www\.xn--tgyjt-bsa7e\.hu$ [NC]
  426.  
  427. RewriteRule ^/(.*)$ https://tegyjot.hu [R=301,L]
  428.  
  429.  
  430. # add support for apache mpm_itk
  431. <IfModule mpm_itk_module>
  432. AssignUserId web1 client1
  433. </IfModule>
  434.  
  435. <IfModule mod_dav_fs.c>
  436. # Do not execute PHP files in webdav directory
  437. <Directory /var/www/clients/client1/web1/webdav>
  438. <ifModule mod_security2.c>
  439. SecRuleRemoveById 960015
  440. SecRuleRemoveById 960032
  441. </ifModule>
  442. <FilesMatch "\.ph(p3?|tml)$">
  443. SetHandler None
  444. </FilesMatch>
  445. </Directory>
  446. DavLockDB /var/www/clients/client1/web1/tmp/DavLock
  447. # DO NOT REMOVE THE COMMENTS!
  448. # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  449. # WEBDAV BEGIN
  450. # WEBDAV END
  451. </IfModule>
  452.  
  453.  
  454.  
  455.  
  456. </VirtualHost>
  457.  
  458. <IfModule mod_ssl.c>
  459. SSLStaplingCache shmcb:/var/run/ocsp(128000)
  460. </IfModule>
  461.  
Advertisement
Add Comment
Please, Sign In to add comment