On Wed, 26 Feb 2003, Peter Vogel wrote:

> How do I configure Apache to not be sensitive to case of urls/filenames?
> Or is that a bad idea?

Doing this has drawbacks.  Your content might move through different
locations through its lifetime and retrospectively fixing case issues is
more of a pain than getting things right the first time.  As well as
browsers, you may want to run various scripts and utilities over
your content and many of these will assume that case should match.  Also
if you start uploading different versions of your scripts with mis-matched
case in filenames, a case sensitive file system will allow the two to
co-exist.

Apache's mod_speling has a nice appraoch.  In the event that an URL is
slightly mis-spelt, including case errors, it issues a page with a notice
that the URL did not match exactly, and a list of likely alternatives.
In the event that there is only one alternative, it issues a redirect.
Personally I'd rather not have the redirect, just a page with only one
option, because that would reqire the fixing of the link without leaving
users stranded in the meanwhile.

Andrew



------------------------------------------------------------------
Andrew McNaughton                   In Sydney and looking for work
[EMAIL PROTECTED]          http://staff.scoop.co.nz/andrew/cv.doc
Mobile: +61 422 753 792


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to