add example of .htaccess file for data directory

This commit is contained in:
Uwe Steinmann 2019-06-13 09:12:55 +02:00
parent 03263c0dc9
commit 0b6d1b4597

View File

@ -85,6 +85,26 @@ the `contentOffsetDir` in `settings.xml` to something random, but ensure it
is still a valid directory name. If you change contentOffsetDir then
do not forget to move `data/1048576` to `data/<your random name>`.
Example for .htaccess file in data directory
----------------------------------------------
```
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# section for Apache 2.2 and 2.4
<ifModule mod_autoindex.c>
IndexIgnore *
</ifModule>
```
UPDATING FROM A PREVIOUS VERSION OR SEEDDMS
=============================================