Question
- TWiki version:
- Web server: IIS 5
- Server OS: Windows 2000
I am having some problems installing TWiki on my system. I have Windows 2000 and IIS 5. I followed all of the instructions outlined in the TWiki Documentation, and
TWikiOnWindows and
TwikiOnWindowsNTNotes. I installed Active Perl,
RCS, and cygwin32.
It appears to be installed correctly. I can pull up the view.pl and it looks right. But when I try to click on any links from the view.pl page, it says the page cannot be found. Please steer me in the right direction, I feel like I am so close yet so far away!
Thank you
--
SusanBlihovde - 07 Jun 2001
Answer
It seems like you hit the additional path problem of IIS.
TWikiOnWindows has this:
path_info()
Returns additional path information from the script URL. E.G. fetching /cgi-bin/your_script/additional/stuff will result in $query->path_info() returning ``additional/stuff''.
NOTE: The Microsoft Internet Information Server is broken with respect to additional path information. If you use the Perl DLL library, the IIS server will attempt to execute the additional path information as a Perl script. If you use the ordinary file associations mapping, the path information will be present in the environment, but incorrect. The best thing to do is to avoid using additional path information in CGI scripts destined for use with IIS.
TWiki depends on the additional path, they are used for web name and topic name. You are stating that the
view.pl script works fine, but not the links. Probably you hit the additional path bug, because the links point to URIs like
/cgi-bin/view.pl/TWiki/WebNotify, and IIS tries to execute a script called
WebNotify instead of
view.pl, which does not work. I don't know if there is a fix for this, check if you find something on the Microsoft knowledge base and search on the web for a possible solution. Alternatively, use Apache.
--
PeterThoeny - 09 Jun 2001
Thank you, once I realized it was a Microsoft thing and not a TWiki thing I was able to find the answer. Thanks for your help
--
SusanBlihovde - 12 Jun 2001
Susan -- did you find a solution for IIS or did you switch? (to Apache?)
--
RandyKramer - 12 Jun 2001
I was able to get it working with IIS 5.0 (after an awful lot of trouble)

If you have any questions I can probably help...
In order to get the path_info() thing resolved I went to the IIS, right clicked on the twiki directory and clicked properties. then click Configuration... Find .pl and .plx and click Edit on both of them. make sure that "Check that file exists" is NOT checked. That should help a lot. I had a lot more problems after that, but unchecking the box seemed to clear up that particular problem.

HTH
--
SusanBlihovde - 15 Jun 2001
I have added a new topic,
TWikiOnWindowsUsingIIS, to document some of my installation problems.
--
SusanBlihovde - 18 Jun 2001