Re: Case sensitive URLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux