mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-08 19:08:57 +00:00
add example of .htaccess file for data directory
This commit is contained in:
parent
03263c0dc9
commit
0b6d1b4597
|
@ -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
|
is still a valid directory name. If you change contentOffsetDir then
|
||||||
do not forget to move `data/1048576` to `data/<your random name>`.
|
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
|
UPDATING FROM A PREVIOUS VERSION OR SEEDDMS
|
||||||
=============================================
|
=============================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user