rubin110

Untitled

Mar 30th, 2010
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. #Listen 80
  2. #Listen 30082
  3. NameVirtualHost *:80
  4. NameVirtualHost *:30082
  5. <VirtualHost *:80>
  6. ServerAdmin webmaster@localhost
  7.  
  8. DocumentRoot /var/www/
  9. <Directory />
  10. Options FollowSymLinks
  11. AllowOverride None
  12. </Directory>
  13. <Directory /var/www/>
  14. Options Indexes FollowSymLinks MultiViews
  15. AllowOverride None
  16. Order allow,deny
  17. allow from all
  18. </Directory>
  19.  
  20. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  21. <Directory "/usr/lib/cgi-bin">
  22. AllowOverride None
  23. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  24. Order allow,deny
  25. Allow from all
  26. </Directory>
  27.  
  28. ErrorLog /var/log/apache2/error.log
  29.  
  30. # Possible values include: debug, info, notice, warn, error, crit,
  31. # alert, emerg.
  32. LogLevel warn
  33.  
  34. CustomLog /var/log/apache2/access.log combined
  35.  
  36. Alias /doc/ "/usr/share/doc/"
  37. <Directory "/usr/share/doc/">
  38. Options Indexes MultiViews FollowSymLinks
  39. AllowOverride None
  40. Order deny,allow
  41. Deny from all
  42. Allow from 127.0.0.0/255.0.0.0 ::1/128
  43. </Directory>
  44.  
  45. </VirtualHost>
  46. <VirtualHost *:30082>
  47. ServerAdmin webmaster@localhost
  48. DocumentRoot /var/www/webdav/
  49. <Directory /var/www/webdav>
  50. Options Indexes MultiViews
  51. AllowOverride None
  52. Order allow,deny
  53. allow from all
  54. </Directory>
  55. </VirtualHost>
Add Comment
Please, Sign In to add comment