Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. DAVLockDB /hdd_1/apache2/davlockdb/DAVLock
  2. DAVMinTimeout 180
  3.  
  4. <IfModule mod_ssl.c>
  5. <VirtualHost _default_:443>
  6. # website files
  7. DocumentRoot /hdd_1/apache2/html
  8.  
  9. # logs
  10. ErrorLog /hdd_1/apache2/log/error.log
  11. CustomLog /hdd_1/apache2/log/access.log combined
  12.  
  13. # ssl
  14. SSLEngine on
  15.  
  16. SSLCertificateFile /etc/apache2/ssl/apache.crt
  17. SSLCertificateKeyFile /etc/apache2/ssl/apache.key
  18.  
  19. <FilesMatch ".(cgi|shtml|phtml|php)$">
  20. SSLOptions +StdEnvVars
  21. </FilesMatch>
  22.  
  23. <Directory /usr/lib/cgi-bin>
  24. SSLOptions +StdEnvVars
  25. </Directory>
  26.  
  27. BrowserMatch "MSIE [2-6]"
  28. nokeepalive ssl-unclean-shutdown
  29. downgrade-1.0 force-response-1.0
  30.  
  31. BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
  32.  
  33. # david
  34. Alias /david /hdd_1/home/david
  35.  
  36. <Directory /hdd_1/home/david>
  37. DAV On
  38. AuthType Basic
  39. AuthName "David's Storage"
  40. AuthUserFile /hdd_1/apache2/auth/.htpasswd
  41. Require valid-user
  42. </Directory>
  43.  
  44. <Location /david>
  45. Require user david
  46. Options +Indexes
  47. IndexIgnore ..
  48. IndexOptions -IconsAreLinks NameWidth=* FancyIndexing SuppressLastModified FoldersFirst
  49. IndexOrderDefault Ascending Name
  50. </Location>
  51.  
  52. # dave
  53. Alias /dave /hdd_1/home/dave
  54.  
  55. <Directory /hdd_1/home/dave>
  56. DAV On
  57. AuthType Basic
  58. AuthName "Dave's Storage"
  59. AuthUserFile /hdd_1/apache2/auth/.htpasswd
  60. Require valid-user
  61. </Directory>
  62.  
  63. <Location /dave>
  64. Require user dave
  65. Options +Indexes
  66. IndexIgnore ..
  67. IndexOptions -IconsAreLinks NameWidth=* FancyIndexing SuppressLastModified FoldersFirst
  68. IndexOrderDefault Ascending Name
  69. </Location>
  70.  
  71. </VirtualHost>
  72. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement