summaryrefslogtreecommitdiff
path: root/docs/config-directives/WSGICaseSensitivity.rst
blob: 13d1441a142b7587c7058ba09c792f8af68b03a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
===================
WSGICaseSensitivity
===================

:Description: Define whether file system is case sensitive.
:Syntax: ``WSGICaseSensitivity On|Off``
:Context: server config

When mod_wsgi is used on the Windows and MacOS X platforms, it will assume
that the filesystem in use is case insensitive. This is necessary to ensure
that the module caching system works correctly and only one module is
retained in memory where paths with different case are used to identify the
same script file. On other platforms it will always be assumed that a case
sensitive file system is used.

The WSGICaseSensitivity directive can be used explicitly to specify for a
particular WSGI application whether the file system the script file is
stored in is case sensitive or not, thus overriding the default for any
platform. A value of On indicates that the filesystem is case sensitive.

Because it is set in the main server config it will apply to the whole
site. All paths therefore would need to be located in a filesystem with the
same case convention.