[pmwiki-users] Disabled EnableDirectDownload and SSL

Martin Kerz martinkerz at gmail.com
Wed Mar 30 16:44:50 CDT 2011

Thanks a lot. It worked when setting $UploadUrlFmt correctly.


On 30.03.2011, at 22:57, Patrick R. Michaud wrote:

> 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

More information about the pmwiki-users mailing list