Tags:
create new tag
view all tags

Question

Our network administrators are requesting that we stop uploading MS Office documents to the web server.

Our servers have an area at the same level as htdocs and cgi-bin called data-shared which is the preferred location for non-html (or supporting) files.

In TWiki.cfg I changed the path and url for $pubUrlPath and $pubDir to reflect this but in testing it looks like files are still uploading to the same pub directory that it was using before - where else do I make the change - or is this not even possible?

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Installation

-- MaureenDunlap - 03 Oct 2005

Answer

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.

TWiki's pub directory can be anywhere in the file system, provided it is accessible via URL. In your case you could move /path/to/htdocs/twiki/pub to path/to/data-shared/twiki/pub if and only if that directory is htdoc enabled. You need to reflect the change in TWiki.cfg's $pubUrlPath and $pubDir.

Limitation: If the data-shared directory is accessible as a mounted drive people will be able to circumvent TWiki's revision control of attachments.

See related WebDAVPlugin.

-- PeterThoeny - 04 Oct 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-11-01 - PeterThoeny
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.