[Pmwiki-users] Uploads and ScriptUrl

Tom Cato Amundsen tca
Mon Oct 18 08:40:52 CDT 2004


On Mon, Oct 18, 2004 at 07:51:36AM -0600, Patrick R. Michaud wrote:
> On Mon, Oct 18, 2004 at 01:50:49PM +0200, Tom Cato Amundsen wrote:
> > Pmwiki 2.0.devel13 and wikifarm.
> > 
> > Uploads does not work if I set $ScriptUrl to
> > 'http://www.solfege.org/wiki' instead of
> > 'http://www.solfege.org/wiki/field.php'.
> > I would like to use the first because it give shorter urls.
> 
> If you use mod_redirect or change the value of $ScriptUrl, you almost
> certainly have to set $UploadUrlFmt as well.  I'm going to guess that
> you need to set it to
> 
>    $UploadUrlFmt='http://www.solfege.org/wiki/uploads';
> 
> Often you need to set $PubDirUrl as well.

Tried to set $UploadUrlFmt as shown above and PubDirUrl to
"http://www.solfege.org/wiki/pub" but that changes nothing.

> 
> The issue is that the only good information PmWiki has for determining
> URLs is the name used to access the pmwiki.php script.  In the case
> above, changing 'http://www.solfege.org/wiki/field.php' to 
> 'http://www.solfege.org/wiki' means that PmWiki also switched the
> upload url from 'http://www.solfege.org/wiki/uploads' to 
> 'http://www.solfege.org/uploads'.
> 
> Pm
> 
> -- 
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> 

-- 
Tom Cato Amundsen <tca at gnu.org>                 http://www.solfege.org/
GNU Solfege - free ear training    http://www.gnu.org/software/solfege/



More information about the pmwiki-users mailing list