[pmwiki-users] Problem with Upload and Images
Patrick R. Michaud
pmichaud at pobox.com
Wed Jan 11 09:34:58 CST 2006
On Wed, Jan 11, 2006 at 07:54:13AM -0600, Ben Wilson wrote:
> Okay, there remains a problem.
>
> I am using clean URLS. Specifically, $ScriptUrl =
> 'http://theduncanfirm.com'. If I put a trailing slash, then most the
> wiki pages won't load because there are two slashes. However, if I
> don't put in a trailing slash then the Attach:sample.jpg markup will
> result in "upload/...sample.jpg" So, at present I can either display
> pages or display an image. Tough choice.
Did you set $UploadUrlFmt? Using CleanUrls almost *always* requires
explicitly setting $ScriptUrl, $PubDirUrl, and $UploadUrlFmt,
since PmWiki has no realiable way to determine what they should be.
$UploadUrlFmt = 'http://www.theduncanfirm.com/uploads';
Pm
More information about the pmwiki-users
mailing list