Advertisement
Guest User

peter

a guest
Mar 6th, 2009
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. NameVirtualHost *:80
  2. NameVirtualHost *:443
  3. <VirtualHost *:443>
  4. SSLEngine on
  5. SSLOptions +StrictRequire
  6. SSLCertificateFile /etc/ssl/certs/server.crt
  7. SSLCertificateKeyFile /etc/ssl/private/server.key
  8. </VirtualHost>
  9.  
  10. <VirtualHost *:80 *:443>
  11. DocumentRoot /var/www
  12. </VirtualHost>
  13.  
  14. <VirtualHost *:80 *:443>
  15. ServerName mail.peter-server.homelinux.net
  16. ServerAlias mail.pbh.kicks-ass.net
  17.  
  18. DocumentRoot /usr/share/roundcube
  19.  
  20. RewriteEngine On
  21. RewriteCond %{HTTPS} !=on
  22. RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R]
  23. </VirtualHost>
  24.  
  25. <VirtualHost *:80 *:443>
  26. ServerName smail.peter-server.homelinux.net
  27. ServerAlias smail.pbh.kicks-ass.net
  28.  
  29. DocumentRoot /usr/share/squirrelmail
  30.  
  31. RewriteEngine On
  32. RewriteCond %{HTTPS} !=on
  33. RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R]
  34. </VirtualHost>
  35.  
  36. <VirtualHost *:80 *:443>
  37. ServerName pma.peter-server.homelinux.net
  38. ServerAlias pma.pbh.kicks-ass.net
  39.  
  40. DocumentRoot /usr/share/phpmyadmin
  41.  
  42. RewriteEngine On
  43. RewriteCond %{HTTPS} !=on
  44. RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R]
  45. </VirtualHost>
  46.  
  47. <VirtualHost *:80 *:443>
  48. ServerName ssh.peter-server.homelinux.net
  49. ServerAlias ssh.pbh.kicks-ass.net
  50.  
  51. ProxyRequests Off
  52. <Proxy *>
  53. Order deny,allow
  54. Allow from all
  55. </Proxy>
  56.  
  57. ProxyPass / http://localhost:8022/
  58. ProxyPassReverse / http://localhost:8022/
  59.  
  60. RewriteEngine On
  61. RewriteCond %{HTTPS} !=on
  62. RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R]
  63. </VirtualHost>
  64.  
  65. <VirtualHost *:80 *:443>
  66. ServerName webmin.peter-server.homelinux.net
  67. ServerAlias webmin.pbh.kicks-ass.net
  68.  
  69. ProxyRequests Off
  70. <Proxy *>
  71. Order deny,allow
  72. Allow from all
  73. </Proxy>
  74.  
  75. ProxyPass / https://localhost:10000/
  76. ProxyPassReverse / https://localhost:10000/
  77.  
  78. RewriteEngine On
  79. RewriteCond %{HTTPS} !=on
  80. RewriteRule ^(.*) https://%{SERVER_NAME}$1 [R]
  81. </VirtualHost>
  82.  
  83. <VirtualHost *:80 *:443>
  84. ServerName kerstgala2008.myphotos.cc
  85. ServerAlias www.kerstgala2008.myphotos.cc
  86.  
  87. DocumentRoot /home/peter/kerstgala08
  88. </VirtualHost>
  89.  
  90. <VirtualHost *:80 *:443>
  91. ServerName frans50.myphotos.cc
  92. ServerAlias www.frans50.myphotos.cc
  93.  
  94. DocumentRoot /home/peter/frans50
  95. </VirtualHost>
  96.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement