Differences
This shows you the differences between two versions of the page.
— |
documentation:2.1:filesessionbackend [2019/01/15 15:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== File session backend ====== | ||
+ | |||
+ | File session backend is the more simple session database. Sessions are stored as files in a single directory. Lock files are stored in another directory. It can not be used to share sessions between different servers except if you share directories (with NFS,...) or if you use [[soapsessionbackend|SOAP proxy]]. | ||
+ | |||
+ | ===== Setup ===== | ||
+ | |||
+ | In the manager: set " | ||
+ | |||
+ | ^ Required parameters | ||
+ | ^ Name ^ Comment | ||
+ | | **Directory** | ||
+ | | **LockDirectory** | ||
+ | |||
+ | ===== Security ===== | ||
+ | |||
+ | Restrict access to the directories only to the Apache server. Example: | ||
+ | <code shell> | ||
+ | chmod 750 / | ||
+ | chown www-data: | ||
+ | </ | ||