Question
I've just installed the current release version of TWiki. When I tried to run testenv (mydomain/twiki/bin/testenv ), instead of displaying a page of results, I was taken to the source code of the script itself. I suspect in my hosting environment, I may need to change the suffixes of my CGI scripts to .cgi or .pl
Other than digging around my files, is there any way of telling what's wrong?
Environment
Additional Note: I poked around my site and found a couple of *.pl files, so I changed testenv to testenv.pl
When I ran: mydomain/twiki/bin/testenv I got a "Page not found". So I've gone from seeing the script itself to "Page Not Found".
There's progress for ya.
Additional Note: I created the .htaccess file under twiki/bin as suggested in the installation instructions and now testenv works!
Of course, now I have to figure out why I've got some errors and warnings, but now I have REAL progress.
QED
--
TWikiGuest - 15 Apr 2004
Answer
I'm glad you figured it out; with a little luck the rest of your problems will be just as easy for me to troubleshoot.
--
MattWilkie - 15 Apr 2004
Question
Hi Matt:
We're becoming "pen" pals. As you suggested for my
IsRcsLiteWorking issue, I've loaded the TWiki Beta. Unfortunately, now I'm back to the original problem of the testenv script echoing back instead of executing. I didn't have to modify the .htaccess file, since in the Beta it already contained the line:
SetHandler cgi-script
This worked for me last time.
Any ideas what else to try?
Thanks in Advance,
Chris Vogel
--
ChrisVogel - 22 Apr 2004
make sure the file is named
.htaccess and not
.htaccess.txt ,the latter is ignored by apache. also if you have renamed testenv to testenv.pl you need to use the extension:
http:///mydomain/bin/testenv.pl
--
MattWilkie - 23 Apr 2004
Additional Note
This is the weirdest thing! Yesterday after install, this didn't work. Today it does. I didn't change anything! Maybe it required some system reset somewhere or a time lag for something to happen. Really weird.
All's well the ends well.
Chris Vogel
--
ChrisVogel - 23 Apr 2004