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.
CC
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
So claiming support for spaces in pathnames is obviously not supportable.
CC
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?
KJL
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
CC
Installation Guide Update
And ApacheConfigGenerator updated with this and other small enhancements and fixes.
KJL