Tags:
create new tag
view all tags

Feature Proposal: Spaces not supported in path?

Motivation

Help user waste less time installing

Description and Documentation

If spaces are not supported in the path, please warn the user (from /twiki/bin/configure). I had twiki at C:\Program Files\Apache Group\Apache2\htdocs\twiki but noticed 2 problems:

1) The Apache configurator http://twiki.org/cgi-bin/view/TWiki/ApacheConfigGenerator does not quote AuthUserFile (I just added a note to that page)

2) Quoting it manually was not enough, I still got this error:

| 03 Jan 2007 - 20:49 | illegal characters in file name component Program Files of filename C:/Program Files/Apache Group/Apache2/htdocs/twiki/data/Main//WebPreferences.txt at C:/Program Files/Apache Group/Apache2/htdocs/twiki/lib/TWiki/Sandbox.pm line 140.

So, either make things work with spaces or please change configure as to warn the user that the space in the path is not supported.

Thanks for listening.

Examples

Impact and Available Solutions

Implementation

-- Contributors: MarcioMarchini

Discussion

Tracked in Bugs:Bugs.Item3456. -- TW

As a workaround using the old 8.3 char format for the path would probably work, using this format is necessary in many utils. I.e.:

C:/Progra~1/Apache~1/Apache2/htdocs/

(Correct names can listed found with the dir command, I think the /x switch lists them).

-- SteffenPoulsen - 15 Jan 2007

Your appreciation is correct, SteffenPoulsen. For TWiki to work, lib\LocalSite.cfg must be corrected to old 8.3 directory names. Plus, you must change TWiki settings. Browse to http://yourTWikiServer/bin/configure and open "Security setup" group, go to "Miscellaneous" section and remove "~" character in {NameFilter} regex.

-- SergioDelFranco - 24 Sep 2007

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-09-24 - SergioDelFranco
 
  • 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.