Advertisement
Guest User

mysite.com.vhost.err

a guest
Mar 28th, 2016
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. <Directory /var/www/mysite.com>
  2. AllowOverride None
  3. Order Deny,Allow
  4. Deny from all
  5. </Directory>
  6.  
  7. <VirtualHost *:80>
  8. DocumentRoot /var/www/mysite.com/web
  9.  
  10. ServerName mysite.com
  11. ServerAlias www.mysite.com
  12. ServerAdmin webmaster@mysite.com
  13.  
  14. ErrorLog /var/log/ispconfig/httpd/mysite.com/error.log
  15.  
  16.  
  17. <IfModule mod_ssl.c>
  18. </IfModule>
  19.  
  20. <Directory /var/www/mysite.com/web>
  21. # Clear PHP settings of this website
  22. <FilesMatch ".+\.ph(p[345]?|t|tml)$">
  23. SetHandler None
  24. </FilesMatch>
  25. Options +FollowSymLinks
  26. AllowOverride All
  27. Order allow,deny
  28. Allow from all
  29. </Directory>
  30. <Directory /var/www/clients/client6/web32/web>
  31. # Clear PHP settings of this website
  32. <FilesMatch ".+\.ph(p[345]?|t|tml)$">
  33. SetHandler None
  34. </FilesMatch>
  35. Options +FollowSymLinks
  36. AllowOverride All
  37. Order allow,deny
  38. Allow from all
  39. </Directory>
  40.  
  41.  
  42.  
  43.  
  44. # suexec enabled
  45. <IfModule mod_suexec.c>
  46. SuexecUserGroup web32 client6
  47. </IfModule>
  48. # php as fast-cgi enabled
  49. # For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
  50. <IfModule mod_fcgid.c>
  51. IdleTimeout 300
  52. ProcessLifeTime 3600
  53. # MaxProcessCount 1000
  54. DefaultMinClassProcessCount 0
  55. DefaultMaxClassProcessCount 100
  56. IPCConnectTimeout 3
  57. IPCCommTimeout 600
  58. BusyTimeout 3600
  59. </IfModule>
  60. <Directory /var/www/mysite.com/web>
  61. <FilesMatch "\.php[345]?$">
  62. SetHandler fcgid-script
  63. </FilesMatch>
  64. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php
  65. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php3
  66. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php4
  67. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php5
  68. Options +ExecCGI
  69. AllowOverride All
  70. Order allow,deny
  71. Allow from all
  72. </Directory>
  73. <Directory /var/www/clients/client6/web32/web>
  74. <FilesMatch "\.php[345]?$">
  75. SetHandler fcgid-script
  76. </FilesMatch>
  77. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php
  78. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php3
  79. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php4
  80. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php5
  81. Options +ExecCGI
  82. AllowOverride All
  83. Order allow,deny
  84. Allow from all
  85. </Directory>
  86.  
  87.  
  88. # add support for apache mpm_itk
  89. <IfModule mpm_itk_module>
  90. AssignUserId web32 client6
  91. </IfModule>
  92.  
  93. <IfModule mod_dav_fs.c>
  94. # Do not execute PHP files in webdav directory
  95. <Directory /var/www/clients/client6/web32/webdav>
  96. <ifModule mod_security2.c>
  97. SecRuleRemoveById 960015
  98. SecRuleRemoveById 960032
  99. </ifModule>
  100. <FilesMatch "\.ph(p3?|tml)$">
  101. SetHandler None
  102. </FilesMatch>
  103. </Directory>
  104. DavLockDB /var/www/clients/client6/web32/tmp/DavLock
  105. # DO NOT REMOVE THE COMMENTS!
  106. # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  107. # WEBDAV BEGIN
  108. # WEBDAV END
  109. </IfModule>
  110.  
  111.  
  112. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement