...
Code Block |
---|
$ /etc/init.d/apache2 restart # Finally restart apache or $ service httpd restart |
Testing
To One can verify that files can be uploaded to the dav directory , using curl can be used:
Code Block |
---|
curl -T <some_file_to_upload> <http://server/dav/> |
And over https One can verify that files can be uploading using HTTPS with client authentication (Note: it should only be possible to access the server over using HTTPS if a valid key/certificate pair is presented):
Code Block |
---|
curl --cacert <webserver.crt> --key <clientXX.key> --cert <clientXX.crt> -T <some_file_to_upload> <https://server/dav/> |
References:
Apache default directory layuout
Apache SSL/TLS Encryption
Apache Module mod_dav