Case sensitive URLs
am 10.09.2009 16:40:06 von Andrew Hole
--0016e65bc360f6af3f04733a2c91
Content-Type: text/plain; charset=ISO-8859-1
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.
Thanks a lot
A.
--0016e65bc360f6af3f04733a2c91
Content-Type: text/html; charset=ISO-8859-1
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 .
Thanks a lot
A.
--0016e65bc360f6af3f04733a2c91--
Re: Case sensitive URLs
am 10.09.2009 16:58:19 von Nick Kew
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 for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Case sensitive URLs
am 10.09.2009 17:01:34 von Tom Evans
On Thu, 2009-09-10 at 15:40 +0100, 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.
>
> Thanks a lot
> A.
You need to use a case sensitive file system, ie not windows.
Cheers
Tom
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org