Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DAVLockDB /hdd_1/apache2/davlockdb/DAVLock
- DAVMinTimeout 180
- <IfModule mod_ssl.c>
- <VirtualHost _default_:443>
- # website files
- DocumentRoot /hdd_1/apache2/html
- # logs
- ErrorLog /hdd_1/apache2/log/error.log
- CustomLog /hdd_1/apache2/log/access.log combined
- # ssl
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/apache.crt
- SSLCertificateKeyFile /etc/apache2/ssl/apache.key
- <FilesMatch ".(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- BrowserMatch "MSIE [2-6]"
- nokeepalive ssl-unclean-shutdown
- downgrade-1.0 force-response-1.0
- BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
- # david
- Alias /david /hdd_1/home/david
- <Directory /hdd_1/home/david>
- DAV On
- AuthType Basic
- AuthName "David's Storage"
- AuthUserFile /hdd_1/apache2/auth/.htpasswd
- Require valid-user
- </Directory>
- <Location /david>
- Require user david
- Options +Indexes
- IndexIgnore ..
- IndexOptions -IconsAreLinks NameWidth=* FancyIndexing SuppressLastModified FoldersFirst
- IndexOrderDefault Ascending Name
- </Location>
- # dave
- Alias /dave /hdd_1/home/dave
- <Directory /hdd_1/home/dave>
- DAV On
- AuthType Basic
- AuthName "Dave's Storage"
- AuthUserFile /hdd_1/apache2/auth/.htpasswd
- Require valid-user
- </Directory>
- <Location /dave>
- Require user dave
- Options +Indexes
- IndexIgnore ..
- IndexOptions -IconsAreLinks NameWidth=* FancyIndexing SuppressLastModified FoldersFirst
- IndexOrderDefault Ascending Name
- </Location>
- </VirtualHost>
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement