Guest User

Untitled

a guest
Jul 27th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. ######################################################
  2. # This virtual host contains the configuration
  3. # for the ISPConfig controlpanel
  4. ######################################################
  5.  
  6. Listen 8080
  7. NameVirtualHost *:8080
  8.  
  9. <VirtualHost _default_:8080>
  10. ServerAdmin webmaster@localhost
  11.  
  12. <IfModule mod_fcgid.c>
  13. DocumentRoot /var/www/ispconfig/
  14. SuexecUserGroup ispconfig ispconfig
  15. <Directory /var/www/ispconfig/>
  16. Options Indexes FollowSymLinks MultiViews +ExecCGI
  17. AllowOverride AuthConfig Indexes Limit Options FileInfo
  18. AddHandler fcgid-script .php
  19. FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php
  20. Order allow,deny
  21. Allow from all
  22. </Directory>
  23. </IfModule>
  24.  
  25. <IfModule mod_php5.c>
  26. DocumentRoot /usr/local/ispconfig/interface/web/
  27. AddType application/x-httpd-php .php
  28. <Directory /usr/local/ispconfig/interface/web>
  29. # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp"
  30. Options FollowSymLinks
  31. AllowOverride None
  32. Order allow,deny
  33. Allow from all
  34. php_value magic_quotes_gpc 0
  35. </Directory>
  36. </IfModule>
  37.  
  38. # ErrorLog /var/log/apache2/error.log
  39. # CustomLog /var/log/apache2/access.log combined
  40. ServerSignature Off
  41.  
  42. <IfModule mod_security2.c>
  43. SecRuleEngine Off
  44. </IfModule>
  45.  
  46. # SSL Configuration
  47. SSLEngine On
  48. SSLCertificateFile /usr/local/ispconfig/interface/ssl/ispserver.crt
  49. SSLCertificateKeyFile /usr/local/ispconfig/interface/ssl/ispserver.key
  50.  
  51. </VirtualHost>
  52.  
  53. <Directory /var/www/php-cgi-scripts>
  54. AllowOverride None
  55. Order Deny,Allow
  56. Deny from all
  57. </Directory>
  58.  
  59. <Directory /var/www/php-fcgi-scripts>
  60. AllowOverride None
  61. Order Deny,Allow
  62. Deny from all
  63. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment