You are here: Foswiki>Tasks Web>Item12581 (05 Jul 2015, GeorgeClark)Edit Attach

Item12581: lighttpd.pl erroneously lowercases names on Mac OS X

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: PlatformLighttpd
Branches: master
Reported By: JasonYamadaHanff
Waiting For:
Last Change By: GeorgeClark
For some horrible reason, on Windows and Mac OS X, lighttpd defaults to forcing lowercase urls. tools/lighttpd.pl run from the Mac OS X terminal therefore renders every topic inaccessible. For instance, it remaps "/bin/view/Main/WebHome" to "/bin/view/main/webhome", and then Foswiki complains that there is no such web or topic.

The fix is adding the configuration option server.force-lowercase-filenames = "disable" to the configuration generated by tools/lighttpd.pl . This should be a safe change since it will force misbehaving platforms to do the right thing and will do nothing on platforms where this is already the default.

-- JasonYamadaHanff - 06 Sep 2013

Thanks for the fix. Applied, and will be in Foswiki 1.2.

-- GeorgeClark - 28 Jan 2015
 

ItemTemplate edit

Summary lighttpd.pl erroneously lowercases names on Mac OS X
ReportedBy JasonYamadaHanff
Codebase 1.1.8, trunk
SVN Range
AppliesTo Engine
Component PlatformLighttpd
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:c2b8a7de9a9c
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches master
trunkCheckins
masterCheckins distro:c2b8a7de9a9c
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 05 Jul 2015, GeorgeClark - This page was cached on 10 Dec 2016 - 02:16.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License