• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4982: Configure installer has a few assumptions that cause my setups issues

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Configure Normal Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

see the commented section.

I'm going to make debian specific changes to it to quickly try to get the configure installer working - will talk about a refined solution post 4.2.0?

 sub _findTarget {
    my ($this, $file) = @_;

    if ($file =~ s#^data/#$TWiki::cfg{DataDir}/#) {
    } elsif ($file =~ s#^pub/#$TWiki::cfg{PubDir}/#) {
    } elsif ($file =~ s#^templates/#$TWiki::cfg{TemplateDir}/#) {
    } elsif ($file =~ s#^locale/#$TWiki::cfg{LocalesDir}/#) {
    } elsif ($file =~ s#^(bin/\w+)$#$this->{root}$1$TWiki::cfg{ScriptSuffix}#) {
        #This makes a couple of bad assumptions
        #1. that the twiki's bin dir _is_ called bin
        #2. that any file going into there _is_ a script - making installing the 
        #   .htaccess file via this machanism impossible
        #3. that softlinks are not in use (same issue below)
    } else {
        $file = File::Spec->catfile($this->{root}, $file);
    }
    $file =~ /^(.*)$/;
    return $1;
}

-- TWiki:Main/SvenDowideit - 16 Nov 2007

Do you use .htsaccess files in the debian package???

You should never use .htaccess files unless you have to like on a shared host installation. It slows down TWiki that Apache has to look for .htaccess files in each and every directory in TWiki each time someone looks at a topic. You should use apache config file only and have AllowOverride None in it.

-- TWiki:Main.KennethLavrsen - 16 Nov 2007

no, i do not use .htaccess. has nothing to do with the problem.

-- TWiki:Main.SvenDowideit - 16 Nov 2007

Mistakenly attributed checkins Rev:15712 Rev:15713 to this bug. They belong to Item4972

CC

Closing this. Most likely not relevant any longer

-- TWiki:Main.KennethLavrsen - 30 Jul 2008

ItemTemplate
Summary Configure installer has a few assumptions that cause my setups issues
ReportedBy TWiki:Main.SvenDowideit
Codebase ~twiki4
SVN Range TWiki-4.3.0, Thu, 15 Nov 2007, build 15610
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15712 TWikirev:15713 TWikirev:15803
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2008-07-30 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback