webDAV和CORS
我在我的web服务器上看到一些奇怪的行为。 试图让keeWeb接受来自不同服务器上的webDAV共享文件。 如果我想添加一个WebDAV文件,input的forms为: https://FQDN:8443/webdav/file.kdbx 我看到以下头(FF开发工具头 – >响应头): Access-Control-Allow-Origin:"*" Access-Control-Allow-Methods:"GET, HEAD, POST, PUT, OPTIONS, MOVE, DELETE, COPY, LOCK, UNLOCK" Access-Control-Allow-Headers:"origin, content-type, cache-control, accept, authorization, if-match, destination, overwrite" Access-Control-Allow-Credentials:"true" 但是,在networking标签我可以看到一个401:请求方法:选项状态代码:401未经授权 看起来像CORS头被添加,但重写不起作用。 我的Apacheconfiguration: <Directory /var/www/html/webdav> Header always set Access-Control-Allow-Origin * Header always set Access-Control-Allow-Headers "origin, content-type, cache-control, accept, authorization, if-match, destination, overwrite" Header always set Access-Control-Expose-Headers "ETag" Header […]