Guest User

Untitled

a guest
Jun 23rd, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. # /etc/apache2/sites-available/mkwww02
  2.  
  3. # This vhost works!
  4. <VirtualHost *:80>
  5. ServerName johanb.mkwww02.mk.local
  6. DocumentRoot /var/www/devel/johanb/johanb.mkwww02.local
  7. ServerAdmin it@lesley.se
  8. ServerSignature Off
  9.  
  10. <Directory /var/www/devel/johanb>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride All
  13. Order allow,deny
  14. Allow from 192.168.0.0/255.255.255.0 127.0.0.0/255.0.0.0 ::1/128
  15. </Directory>
  16.  
  17. Errorlog /var/log/apache2/johanb.mkwww02_error.log
  18. LogLevel warn
  19. CustomLog /var/log/apache2/johanb.mkwww02_access.log combined
  20. </VirtualHost>
  21.  
  22. # This vhost doesn't work!
  23. # Returns Server not found
  24. <VirtualHost *:80>
  25. ServerName jony.mkwww02.mk.local
  26. DocumentRoot /var/www/devel/jony/intranet.lesley
  27. ServerAdmin it@lesley.se
  28. ServerSignature Off
  29.  
  30. <Directory /var/www/devel/jony/intranet.lesley>
  31. Options Indexes FollowSymLinks MultiViews
  32. AllowOverride All
  33. Order allow,deny
  34. Allow from 192.168.0.0/255.255.255.0 127.0.0.0/255.0.0.0 ::1/128
  35. </Directory>
  36.  
  37. Errorlog /var/log/apache2/jony.mkwww02_error.log
  38. LogLevel warn
  39. CustomLog /var/log/apache2/jony.mkwww02_access.log combined
  40. </VirtualHost>
Add Comment
Please, Sign In to add comment