Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 08:08:35 -0500
From:      Graeme Tait <graeme@echidna.com>
To:        Stuart Henderson <stuart@eclipse.net.uk>
Cc:        Karl Pielorz <kpielorz@tdx.co.uk>, lists@gal.netlab.sk, freebsd-isp@FreeBSD.ORG
Subject:   Re: Need non-case sensitive fs
Message-ID:  <36A33253.106C@echidna.com>
References:  <001c01be42b5$f433c5a0$231da8c3@gericom-tps.tps.sk> <36A30646.B5C623EB@eclipse.net.uk> <36A31491.9875B056@tdx.co.uk> <36A3206C.BAC24C09@eclipse.net.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Stuart Henderson wrote:
> 
> Karl Pielorz wrote:
> >
> > > > Funcion Read "DeMOFile.jpg"  reads "DEMOFILE.jpg". So implementation like
> > > > DOS/WINDOWS OS have. Upcase equal Downcase. Any ideas?
> > >
> > > http://www.apache.org/docs/mod/mod_speling.html
> >
> > I don't think that works for '<IMG SRC>' or included files does it?
> 
> It works with all standard documents, although it won't work
> for "virtual directories" for example <location /status> or
> for ~xxxxx style usernames. On a recent Apache distribution
> (like the one built by -current ports) you just need to add
> "CheckSpelling on" to the relevant place/s in access.conf.


It seems to me that (absent the requested case-insensitive filesystem) the host is 
between a rock and a hard place on this.

Even if Apache fully processed all URL paths to eliminate "case sensitivity", case 
sensitivity is still there with ftp'd files. Also, Front Page server modules, SSI 
include files and maybe cgi could still be affected.

If mod_speling additionally allows a single spelling error while accommodating case 
variations, or even worse, returns a list of close matches, it is a potential 
security risk (in that it helps give access to URL's that otherwise would have to be 
guessed exactly).

Possibly something useful could be done with mod_rewrite?


Overall, maybe the best option is to tell the microSOFT users they have to learn 
about case, and do whatever possible to ease the transition. For example, translate 
all files copied from the nT system to lowercase paths - although this assumes 
lowercase paths in URL's, etc. Perhaps use mod_speling or mod_rewrite for a 
transitional period.


-- 
Graeme Tait - Echidna


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36A33253.106C>