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
--
RobCrutchfield - 27 Jul 2008
Answer
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