Advertisement
Guest User

mysite.com.vhost

a guest
Mar 28th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 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. Options FollowSymLinks
  22. AllowOverride All
  23. Order allow,deny
  24. Allow from all
  25. </Directory>
  26. <Directory /var/www/clients/client6/web32/web>
  27. Options FollowSymLinks
  28. AllowOverride All
  29. Order allow,deny
  30. Allow from all
  31. </Directory>
  32.  
  33.  
  34.  
  35.  
  36. # suexec enabled
  37. <IfModule mod_suexec.c>
  38. SuexecUserGroup web32 client6
  39. </IfModule>
  40. # Clear PHP settings of this website
  41. <FilesMatch "\.ph(p3?|tml)$">
  42. SetHandler None
  43. </FilesMatch>
  44. # php as fast-cgi enabled
  45. # For config options see: http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html
  46. <IfModule mod_fcgid.c>
  47. IdleTimeout 300
  48. ProcessLifeTime 3600
  49. # MaxProcessCount 1000
  50. DefaultMinClassProcessCount 0
  51. DefaultMaxClassProcessCount 100
  52. IPCConnectTimeout 3
  53. IPCCommTimeout 360
  54. BusyTimeout 300
  55. </IfModule>
  56. <Directory /var/www/mysite.com/web>
  57. AddHandler fcgid-script .php .php3 .php4 .php5
  58. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php
  59. Options +ExecCGI
  60. AllowOverride All
  61. Order allow,deny
  62. Allow from all
  63. </Directory>
  64. <Directory /var/www/clients/client6/web32/web>
  65. AddHandler fcgid-script .php .php3 .php4 .php5
  66. FCGIWrapper /var/www/php-fcgi-scripts/web32/.php-fcgi-starter .php
  67. Options +ExecCGI
  68. AllowOverride All
  69. Order allow,deny
  70. Allow from all
  71. </Directory>
  72.  
  73.  
  74. # add support for apache mpm_itk
  75. <IfModule mpm_itk_module>
  76. AssignUserId web32 client6
  77. </IfModule>
  78.  
  79. <IfModule mod_dav_fs.c>
  80. # Do not execute PHP files in webdav directory
  81. <Directory /var/www/clients/client6/web32/webdav>
  82. <ifModule mod_security2.c>
  83. SecRuleRemoveById 960015
  84. SecRuleRemoveById 960032
  85. </ifModule>
  86. <FilesMatch "\.ph(p3?|tml)$">
  87. SetHandler None
  88. </FilesMatch>
  89. </Directory>
  90. DavLockDB /var/www/clients/client6/web32/tmp/DavLock
  91. # DO NOT REMOVE THE COMMENTS!
  92. # IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
  93. # WEBDAV BEGIN
  94. # WEBDAV END
  95. </IfModule>
  96.  
  97.  
  98. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement