Andrew Hole wrote:
Hi guys!

How can I ensure case sensitive URLs?

I've test.html at DocumentRoot. I want a "File not found" error when I invoke http://host/TEST.html.

You'll get that as standard.  Just don't use any of the hacks that
make them appear case-insensitive, like mod_speling.

The possible exception to that is if you have a case-insensitive
filesystem that returns test.html when asked for TEST.html.  If that's
the case you'd have to deal with it before the filesystem is
accessed.  A simple solution would be a rewriterule.  Or if
your capitalisations are many and complex, maybe a rewritemap
generated by listing the files.

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to