On Wed, Mar 30, 2011 at 09:40:45PM +0200, Martin Kerz wrote: > 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';
$UploadDir is the name of a local directory where uploads will be stored, not the url used to access the directory. You want to be setting $UploadUrl if you want it to be using https:. By default $UploadUrl is derived from $PubDirUrl, so if $PubDirUrl has https:, then $UploadUrl should also. See http://www.pmwiki.org/wiki/PmWiki/UploadVariables . (By default $PubDirUrl is derived from $ScriptUrl... but if a local customization is setting $PubDirUrl with a http: (no 's') value then that's what $UploadUrl will use by default also.) Pm _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
