Apache: webdav access just through https?
Hi,
I would like to set up apache to let users use webdav for editing
www_root.
But I would like to prevent them from using http when publishing.
Let them use just https layer.
Directive DAV can be used just with <Location> or <Directory>
I tried this:
[/var/www]$: ln -s . webdav
<Location /webdav>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* - [F]
DAV On
</Location>
Publish url is: https://localhost/webdav
Everything else is accessible by http layer.
Do you know more fashionable solution?
Thanks,
--
Jan Stavel
Reply to: