• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
Copied from twiki.org:

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.

-- TWiki:Main.MarcioMarchini - 15 Jan 2007

If you read configure, in the Security Settings section you will find the setting of {NameFilter} which specifies the characters that are detected as being illegal in path names. This includes space.

That's not to say it will work if you allow spaces in that RE; I believe there may be other issues with that, and it has to be considered "untested". However "it should work with spaces" is probably a fair statement. However no-one has had the time to invest to test it fully.

The documentation could be improved, though.


Later: In the spirit of an experiment I changed the path to my TWiki install (on Linux) so there was a space in the path. configure behaved fine, but as soon as TWiki fired up it spazzed out with an unfathomable error in the depths of the form code frown

So claiming support for spaces in pathnames is obviously not supportable.


What is now the scope of this bug item?

To fix the problem with spaces - or to add to some document that spaces in paths are now allowed?


I assume you meant not allowed.

The proper fix is to make sure spaces are allowed. In the short term, however, the fix is to document that they are not supported. I think this requires some experimentation to determine what breaks and what doesn't.

See also: Item443


Installation Guide Update

And ApacheConfigGenerator updated with this and other small enhancements and fixes.


Summary Doc is unclear that Space In Path Causes Error
ReportedBy TWiki:Main.ThomasWeigert
Codebase ~twiki4
SVN Range TWiki-4.1.0, Sun, 14 Jan 2007, build 12536
AppliesTo Engine
Component Documentation
Priority Normal
CurrentState Closed

Checkins TWikirev:13552 TWikirev:13553
TargetRelease minor
ReleasedIn 4.1.3, 4.2.0
Edit | Attach | Watch | Print version | History: r16 < r15 < r14 < r13 < r12 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r16 - 2008-01-22 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback