Advertisement
Guest User

Untitled

a guest
May 13th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin szymon.bluma@polcode.net
  3. DocumentRoot /home/szymon/webs/wildcard
  4. ServerName wwww.local.host
  5. ServerAlias *.*.local.host
  6. VirtualDocumentRoot /home/szymon/webs/wildcard/%2/source/public/
  7. <Directory "/home/szymon/webs/wildcard">
  8. Options All
  9. AllowOverride All
  10. Require all granted
  11. </Directory>
  12.  
  13. ErrorLog /var/log/apache2/local.host-error_log
  14. CustomLog /var/log/apache2/local.host-access_log common
  15. </VirtualHost>
  16. <VirtualHost *:443>
  17. ServerAdmin szymon.bluma@polcode.net
  18. DocumentRoot /home/szymon/webs/wildcard
  19. ServerName wwww.local.host
  20. ServerAlias *.*.local.host
  21. VirtualDocumentRoot /home/szymon/webs/wildcard/%2/source/public/
  22. <Directory "/home/szymon/webs/wildcard">
  23. Options All
  24. AllowOverride All
  25. Require all granted
  26. </Directory>
  27.  
  28. SSLEngine on
  29. SSLCertificateFile /etc/apache2/ssl/apache.crt
  30. SSLCertificateKeyFile /etc/apache2/ssl/apache.key
  31.  
  32. ErrorLog /var/log/apache2/local.host-error_log
  33. CustomLog /var/log/apache2/local.host-access_log common
  34. </VirtualHost>
  35.  
  36. <VirtualHost *:80>
  37. ServerAdmin szymon.bluma@polcode.net
  38. DocumentRoot /home/szymon/webs/wildcard
  39. ServerName www.local.host
  40. ServerAlias *.local.host
  41. VirtualDocumentRoot /home/szymon/webs/wildcard/%1/source/public/
  42. <Directory "/home/szymon/webs/wildcard">
  43. Options All
  44. AllowOverride All
  45. Require all granted
  46. </Directory>
  47.  
  48. ErrorLog /var/log/apache2/local.host-error_log
  49. CustomLog /var/log/apache2/local.host-access_log common
  50. </VirtualHost>
  51. <VirtualHost *:443>
  52. ServerAdmin szymon.bluma@polcode.net
  53. DocumentRoot /home/szymon/webs/wildcard
  54. ServerName www.local.host
  55. ServerAlias *.local.host
  56. VirtualDocumentRoot /home/szymon/webs/wildcard/%1/source/public/
  57. <Directory "/home/szymon/webs/wildcard">
  58. Options All
  59. AllowOverride All
  60. Require all granted
  61. </Directory>
  62.  
  63. SSLEngine on
  64. SSLCertificateFile /etc/apache2/ssl/apache.crt
  65. SSLCertificateKeyFile /etc/apache2/ssl/apache.key
  66.  
  67. ErrorLog /var/log/apache2/local.host-error_log
  68. CustomLog /var/log/apache2/local.host-access_log common
  69. </VirtualHost>
  70.  
  71.  
  72.  
  73. <VirtualHost *:80>
  74. ServerAdmin szymon.bluma@gmail.com
  75. DocumentRoot /home/szymon/webs/priv.host/
  76. ServerName www.local-sf2.host
  77. ServerAlias *.local-sf2.host
  78. VirtualDocumentRoot /home/szymon/webs/wildcard/%1/source/web
  79. <Directory "/home/szymon/webs/wildcard">
  80. Options All
  81. AllowOverride All
  82. Require all granted
  83. </Directory>
  84. ErrorLog /var/log/apache2/local-sf2.host-error_log
  85. CustomLog /var/log/apache2/local-sf2.host-access_log common
  86. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement