[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache: How to prevent from accessing webdav through http?


I tried to configure webdav for <Directory /> just for htts:
(For the presence it does not include more constraints :-)

[/var/www]$: ln -s . webdav

<Location /webdav>
        RewriteEngine on
        RewriteCond %{HTTPS} !=on
        RewriteRule .* - [F]
        DAV On

NOTE: publish url is: https://localhost/webdav ... it goes to the www root

Is there some more fashionable solution, when  I don't have to create
symlink on the www root?

      Jan Stavel 

Reply to: