[pmwiki-users] Clean URLS cookbook question

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 7 10:08:34 CST 2006


On Mon, Feb 06, 2006 at 08:27:47AM -0600, Patrick R. Michaud wrote:
> On Sun, Feb 05, 2006 at 03:16:58PM -0700, H. Fox wrote:
> > It looks to me like $PubDirUrl and UploadUrlFmt are nearly always the
> > same, except for one ends in "pub" and the other ends in "uploads". 
> > Is that the case?  
> 
> Yes, it is, and yes, you're correct that using $PubDirUrl
> as a base seems to make a lot more sense than $ScriptUrl.

Just to follow-up on this, I've now changed $UploadUrlFmt to
be based on $PubDirUrl, and it works *very* nicely, both for
default installations and with the CleanUrls recipe.  

Thanks ever so much for suggesting this -- it's a big improvement.

Pm




More information about the pmwiki-users mailing list