[dokuwiki] Re: Using uppercase filenames on Linux

  • From: "Paul Webster" <pjwebster@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 14 Dec 2006 09:51:18 +1000

Hi List,
I just moved Dokuwiki (latest from darcs) from a Windows-Apache
environment to an Linux-Apache environment and noticed that files
using upper-chased chars are not recognized (pages, and media files).
If I copy a file with upper-case chars via samba for example into the
media directory I see the filename correct in the mediabrowser and the
Link (in the edit view) is correct as well, but as html the link is
converted to all lowercase and the file is not found when I click on
the link.

Is there anything I am doing wrong or can i change that behaviour?
Thanks in advance,
Thomas

The file and folder names in the data directory must all be lower
case. Dokuwiki converts all namespaces and pages to lower case. Short
of writing a script to recurse the data directory and rename
everything, I'm not sure how you would resolve this.

One other thing to check when copying files onto a Linux machine over
samba is the resulting permissions on the Linux system, which in turn,
depends on how you have samba set up. Make sure Apache on Linux has at
least read access to the files and folders. It is also entirely
possible that you may be able to configure samba to force lower case
names, or vice versa on windows, but I'm not sure.

Paul W
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: