Tags:
create new tag
view all tags

Question

I've just installed TWiki 4.02 for the first time and spent the last few hours arguing with Apache, file permissions and CPAN requirements. The configure script now, 'finally' does not have any warnings or any errors.

Next the instructions say to goto the view script (i.e. http://yourdomain.com/twiki/bin/view ) however when I do this I get an internal server error?

I'm not quite sure why this could be, it can't be Apache configuration as this is limited to directories and the configure script runs.

If I dump the /var/log/httpd/error_log I get

[Fri Apr 07 15:07:51 2006] [error] [client 100.0.106.37] Premature end of script headers: view [Fri Apr 07 15:07:51 2006] [error] [client 100.0.106.37] Unmatched [ in regex; marked by <-- HERE in m/(?-xism:[ <-- HERE \s\*?~^\$@%`/ at /var/www/html/TWiki/lib//TWiki.pm line 1226.

If I run bin/view from the command line I also get;

./view Unmatched [ in regex; marked by <-- HERE in m/(?-xism:[ <-- HERE \s\*?~^\$@%`/ at /var/www/html/TWiki/lib//TWiki.pm line 1226.

Any help would be appreciated.

Regards Paul.

Environment

TWiki version: TWikiRelease04x00x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Fedora
Web server: Apache 2.2
Perl version: v5.8.0
Client OS: Windows XP
Web Browser: IE 6.0
Categories: Installation

-- PaulMatthews - 07 Apr 2006

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.

It seems that this was as a result of the NameFilter (configurable from the Security Setup section in 'configure' being incorrect. I'm not sure if I accidently erased the end of the filter or if the default configuration appeared that way to start with.

It was; (?-xism:[\s\*?~^\$@%`

and I changed it to; (?-xism:[\s\*?~^\$@%`])

closing the square and curley bracket. Not sure if anything else is missing, but this is nolonger causing an issue and now on to the next issue =P.

Paul.

-- PaulMatthews - 08 Apr 2006

You are actually missing some important parts: [\s\*?~^\$@%`"'&;|<>\x00-\x1f]

See related UnmatchedBracketInRegex.

-- PeterThoeny - 09 Apr 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-01-10 - 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.