Tags:
create new tag
view all tags

Question

I have looked in the docs, but this problem is weird and I don't know how I would search for it.

I enter the URL http://localhost/xampp/htdocs/TWiki/bin/configure.pl, to run configure for the first time.

I get a Server Error 500 message.

If I rename the script to test.pl and enter http://localhost/xampp/htdocs/TWiki/bin/test.pl

...the configure script runs, but lists a CGI error, saying it can't open localhost/xampp/htdocs/TWiki/bin/test.pl for reading.

If I rename the script to newconfigure.pl, it does NOT run (Server Error 500).

If I rename it to newtest.pl, it DOES run (with CGI error, can't open localhost/xampp/htdocs/TWiki/bin/newtest.pl for reading).

What can this mean?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: MS Windows XP sp2
Web server: XAMPP 1.6.7 (Apache 2.2.9)
Perl version: Active Perl 5.10.0
Client OS: MS Windows XP sp2
Web Browser: Firefox 2.0.0.16
Categories: Installation

-- RobCrutchfield - 27 Jul 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

What does the apache log say? 500 is an internal server error, so there could be some useful info there.

-- SeanCMorgan - 28 Jul 2008

Well, that helps: on configure.pl, it says it can't open the password file (.htpasswd). I'll check the docs and fix that. Thanks.

(Apparently it looks for .htpasswd if it finds the string "configure" in the filename, but not otherwise.)

-- RobCrutchfield - 28 Jul 2008

If you have server config access, it is not recommended to use htaccess/htpasswd. See my comment and example twiki.conf at TWiki:Codev.WindowsInstallCookbookComments (dated 12 Mar 2008).

Your apache server is probably configued to have a different authentication mechanism for configure with an entry like <Files configure>.

If you're still having problems, you might see if TWiki:TWiki.ApacheConfigGenerator helps.

-- SeanCMorgan - 29 Jul 2008

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-07-29 - SeanCMorgan
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.