Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. <VirtualHost *:443>
  2. DocumentRoot /var/webdav
  3. <Directory "/var/webdav">
  4. Options Indexes FollowSymLinks MultiViews
  5. AllowOverride None
  6. Order allow,deny
  7. Allow from all
  8. </Directory>
  9.  
  10. SSLEngine on
  11. SSLCertificateFile /etc/apache2/server.crt
  12. SSLCertificateKeyFile /etc/apache2/server.key
  13.  
  14. <Location />
  15. Dav on
  16.  
  17. AuthType Basic
  18. AuthName "AzaWebDav"
  19. AuthUserFile /etc/apache2/.webdav.passwd
  20. Require valid-user
  21.  
  22. <LimitExcept GET HEAD OPTIONS>
  23. Require user azaghal
  24. </LimitExcept>
  25. </location>
  26.  
  27.  
  28. <Location /private>
  29. Dav on
  30.  
  31. AuthType Basic
  32. AuthUserFile /etc/apache2/.webdav.passwd
  33. Require user azaghal
  34.  
  35. </location>
  36.  
  37. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement