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
--
MaureenDunlap - 03 Oct 2005
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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