- The TWiki.cfg file defaults to a URL /twiki/bin but the zip file unzips directly to /bin: this is inconsistent and confusing.
- The directory default in bin/.htaccess.txt is .../TWiki/ not /twiki - this compounds the confusion
- The .htaccess.txt ErrorDocument also defaults to /bin, not to /twiki/bin
I don't particularly mind which directory the install should go into (I prefer /twiki) but whichever, it must be consistent!
Can this please get changed for Cairo?
--
MartinCleaver - 22 Jul 2004
Start from the knowledge that the zip package contains bin, lib, pub etc at the top level of the zip. This is absolutely right and must not change.
The TWiki.cfg file is an example only, so the /twiki/bin URL path there is based on the assumption that an Alias has been defined in httpd.conf that maps /twiki/ to the directory where the package was unzipped. Perhaps the documentation in TWiki.cfg could be clearer.
I'm not sure where you are getting the idea that there is a "directory default" anywhere in htaccess.txt. Some file and URL paths are included there that are intended as documentation, such as "/filepath/to/TWiki/" and "/urlpath/to/twiki".
Note: this is confusing. htaccess.txt should be defined such that it does not work with the paths in the shipped edition, so that an error occurs if the installer tries to use it without edits. Several people (including me!) have been caught out by this, especially with regard to the ErrorDocument.
To improve this a patch is attached that improves the documentation in .htaccess.txt
--
CrawfordCurrie - 23 Jul 2004