Hi there, whenever I disable DirectDownload pmwiki serves me attachments via http://, and not https://, although $ScriptUrl is set to https:// . $UploadDir = $UrlScheme.'://my-wiki.net/uploads'; doesn't work either. I probably don't get it. Can anyone help me? Thanks in advance. Martin