Advertisement
Guest User

000-default

a guest
Jul 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. NameVirtualHost *
  2. <VirtualHost *>
  3. ServerAdmin webmaster@localhost
  4.  
  5. DocumentRoot /var/www/
  6. <Directory />
  7. Options FollowSymLinks
  8. AllowOverride None
  9. </Directory>
  10. <Directory /var/www/>
  11. Options Indexes FollowSymLinks MultiViews
  12. AllowOverride None
  13. Order allow,deny
  14. allow from all
  15. </Directory>
  16.  
  17. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  18. <Directory "/usr/lib/cgi-bin">
  19. AllowOverride None
  20. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  21. Order allow,deny
  22. Allow from all
  23. </Directory>
  24.  
  25. ## Twiki - added by jcran on 04/15/2010
  26. ScriptAlias /twiki/bin/ "/var/www/twiki/bin/"
  27. Alias /twiki/ "/var/www/twiki/"
  28. <Directory "/var/www/twiki/bin">
  29. Options +ExecCGI
  30. SetHandler cgi-script
  31. Allow from all
  32. </Directory>
  33. <Directory "/var/www/twiki/pub">
  34. Options FollowSymLinks +Includes
  35. AllowOverride None
  36. Allow from all
  37. </Directory>
  38. <Directory "/var/www/twiki/data">
  39. deny from all
  40. </Directory>
  41. <Directory "/var/www/twiki/templates">
  42. deny from all
  43. </Directory>
  44.  
  45.  
  46. ErrorLog /var/log/apache2/error.log
  47.  
  48. # Possible values include: debug, info, notice, warn, error, crit,
  49. # alert, emerg.
  50. LogLevel warn
  51.  
  52. CustomLog /var/log/apache2/access.log combined
  53. ServerSignature On
  54.  
  55. Alias /doc/ "/usr/share/doc/"
  56. <Directory "/usr/share/doc/">
  57. Options Indexes MultiViews FollowSymLinks
  58. AllowOverride None
  59. </Directory>
  60.  
  61. <Directory "/var/www/dav/">
  62. Options Indexes MultiViews FollowSymLinks
  63. AllowOverride None
  64. DAV On
  65. </Directory>
  66.  
  67.  
  68.  
  69. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement