Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache 1.3.29
Perl version: 5.8.1
Client OS: WinXP
Web Browser: IE

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. wink

-- 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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-04-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.