File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,25 @@ Use `Composer` by simply adding `crowdsec/bouncer` as a dependency:
3030
3131This library can also be used on its own so that every browser access to a php script will be bounced.
3232
33- In order to use the standalone mode, you will have to :
33+ In order to use the standalone mode, you will have to :
34+
35+ - give the correct permission for the folder that contains the lib
3436
3537- copy the ` scripts/auto-prepend/settings.example.php ` to a ` scripts/auto-prepend/settings.php ` file
3638
3739- set an ` auto_prepend_file ` directive in your PHP setup.
3840
41+
42+ ### Files permission
43+
44+ The owner of the ` /path/to/the/crowdsec-lib ` should be your webserver owner (e.g. ` www-data ` ).
45+
46+ You can achieve it by running command like:
47+
48+ ```
49+ sudo chown www-data /path/to/the/crowdsec-lib
50+ ```
51+
3952### Settings file
4053
4154Please copy the ` scripts/auto-prepend/settings.example.php ` to a ` scripts/auto-prepend/settings.php `
You can’t perform that action at this time.
0 commit comments