archive_me1Add my vote for this tag create new tag
, view all tags
Spec change for TWiki scripts:

All TWiki scripts change first to the script directory. This fixes a problem under mod_perl 2.0 / Apache 2.0 where mod_perl does not set the current working directory to the script directory. This fix does not affect standard CGI Perl mode and shell mode. Patch provided by JohannesMartin in ModPerl.

All TWiki scripts are changed to this: (red code is new)

    # Set default current working directory (needed for mod_perl)
    if( $ENV{"SCRIPT_FILENAME"} && $ENV{"SCRIPT_FILENAME"} =~ /^(.+)\/[^\/]+$/ ) {
        chdir $1;
    # Set library paths in @INC, at compile time
    unshift @INC, '.';
    require 'setlib.cfg';

This is now in TWikiAlphaRelease for CairoRelease and at TWiki.org.

-- PeterThoeny - 26 Oct 2003

Peter, I've noticed a fair number of (probably minor) changes recorded today and just wanted to say thank you (without putting a thank you on each page).

Thank you!

-- RandyKramer - 26 Oct 2003

Changed from FeatureDone to BugResolved as this was a bug for mod_perl2 users while being an invisible change to all others.

-- MattWilkie - 18 Dec 2003

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-06-27 - SvenDowideit
  • 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.