Tags:
create new tag
view all tags

SID-00096: Link to attached files

Status: Answered Answered TWiki version: Perl version:
Category: CategoryAttachments Server OS: Last update: 17 years ago

Hello, I linked to an attached file in a different web by typing: %PUBURL%/OtherWeb/OtherTopic/file.txt, which gives me the link: http://OtherWeb/OtherTopic/file.txt.

Is there any way to rename this link?

Thank you!

-- JenTsien - 12 Feb 2009

Discussion and Answer

Something seems to be odd with your TWiki configuration. %PUBURL% should contain a protocol, domain name and path. It should expand to the root of all your TWiki attachments, such as http://www.example.com/twiki/pub. Run configure and check the the {PubUrlPath}, {PubDir} and {DefaultUrlHost} settings.

Details on file attachments at FileAttachments.

-- PeterThoeny - 12 Feb 2009

Sorry for the confusion, it actually does give me something like http://www.example.com/twiki/pub. I was just wondering about renaming the link TWiki automatically generates.

-- JenTsien - 13 Feb 2009

You can give a link any label you want, such as [[%PUBURL%/OtherWeb/OtherTopic/file.txt][any link label for my file.txt]]

-- PeterThoeny - 13 Feb 2009

Thanks!

-- JenTsien - 16 Feb 2009

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Link to attached files
SupportCategory CategoryAttachments
TWiki version

Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-02-16 - JenTsien
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.