Advertisement
Guest User

Untitled

a guest
Apr 5th, 2010
2,628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /var/www/
  5. <Directory />
  6. Options FollowSymLinks
  7. AllowOverride None
  8. </Directory>
  9. <Directory /var/www/>
  10. Options Indexes FollowSymLinks MultiViews
  11. AllowOverride None
  12. Order allow,deny
  13. allow from all
  14. </Directory>
  15.  
  16. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  17. <Directory "/usr/lib/cgi-bin">
  18. AllowOverride None
  19. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  20. Order allow,deny
  21. Allow from all
  22. </Directory>
  23.  
  24. ErrorLog /var/log/apache2/error.log
  25.  
  26. # Possible values include: debug, info, notice, warn, error, crit,
  27. # alert, emerg.
  28. LogLevel warn
  29.  
  30. CustomLog /var/log/apache2/access.log combined
  31.  
  32. Alias /doc/ "/usr/share/doc/"
  33. <Directory "/usr/share/doc/">
  34. Options Indexes MultiViews FollowSymLinks
  35. AllowOverride None
  36. Order deny,allow
  37. Deny from all
  38. Allow from 127.0.0.0/255.0.0.0 ::1/128
  39. </Directory>
  40.  
  41. <Location /rutorrent>
  42. AuthType Digest
  43. AuthName "gods"
  44. AuthDigestDomain /var/www/rutorrent/ http://your.server.ip/rutorrent
  45.  
  46. AuthDigestProvider file
  47. AuthUserFile /etc/apache2/passwords
  48. Require valid-user
  49. SetEnv R_ENV "/var/www/rutorrent"
  50. </Location>
  51.  
  52. </VirtualHost>
  53.  
  54. <VirtualHost *:443>
  55. ServerAdmin webmaster@localhost
  56.  
  57. SSLEngine on
  58. SSLCertificateFile /etc/apache2/apache.pem
  59.  
  60. DocumentRoot /var/www/
  61. <Directory />
  62. Options FollowSymLinks
  63. AllowOverride None
  64. </Directory>
  65. <Directory /var/www/>
  66. Options Indexes FollowSymLinks MultiViews
  67. AllowOverride None
  68. Order allow,deny
  69. allow from all
  70. </Directory>
  71.  
  72. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  73. <Directory "/usr/lib/cgi-bin">
  74. AllowOverride None
  75. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  76. Order allow,deny
  77. Allow from all
  78. </Directory>
  79.  
  80. ErrorLog /var/log/apache2/error.log
  81.  
  82. # Possible values include: debug, info, notice, warn, error, crit,
  83. # alert, emerg.
  84. LogLevel warn
  85.  
  86. CustomLog /var/log/apache2/access.log combined
  87.  
  88. Alias /doc/ "/usr/share/doc/"
  89. <Directory "/usr/share/doc/">
  90. Options Indexes MultiViews FollowSymLinks
  91. AllowOverride None
  92. Order deny,allow
  93. Deny from all
  94. Allow from 127.0.0.0/255.0.0.0 ::1/128
  95. </Directory>
  96. <Location /rutorrent>
  97. AuthType Digest
  98. AuthName "gods"
  99. AuthDigestDomain /var/www/rutorrent/ http://your.server.ip/rutorrent
  100.  
  101. AuthDigestProvider file
  102. AuthUserFile /etc/apache2/passwords
  103. Require valid-user
  104. SetEnv R_ENV "/var/www/rutorrent"
  105. </Location>
  106. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement