@@ -50,7 +50,7 @@ A captcha wall could look like:
5050
5151![ Captcha wall] ( images/screenshots/front-captcha.jpg )
5252
53- With the provided Standalone bouncer, please note that it is possible to customize all the colors of these pages so
53+ With the provided standalone bouncer, please note that it is possible to customize all the colors of these pages so
5454that they integrate best with your design.
5555
5656On the other hand, all texts are also fully customizable. This will allow you, for example, to present translated pages in your users' language.
@@ -61,7 +61,7 @@ On the other hand, all texts are also fully customizable. This will allow you, f
6161This library includes the [ ` StandaloneBouncer ` ] ( ../src/StandaloneBouncer.php ) class. You can see that class as a good
6262example for creating your own bouncer.
6363
64- Once you set up your server as below, every browser access to a php script will be bounced by the Standalone bouncer.
64+ Once you set up your server as below, every browser access to a php script will be bounced by the standalone bouncer.
6565
6666You will have to :
6767
@@ -119,6 +119,17 @@ If you are using Apache, you should add this line to your `.htaccess` file:
119119
120120 php_value auto_prepend_file "/absolute/path/to/scripts/auto-prepend/bounce.php"
121121
122+ or modify your ` Virtual Host ` accordingly:
123+
124+ ```
125+ <VirtualHost ...>
126+ ...
127+ ...
128+ php_value auto_prepend_file "/absolute/path/to/scripts/auto-prepend/bounce.php"
129+
130+ </VirtualHost>
131+ ```
132+
122133
123134## Create your own bouncer
124135
@@ -302,17 +313,17 @@ Here is the list of available settings:
302313
303314### Cache
304315
305- - ` cache_system ` : Select from ` phpfs ` (File system cache), ` redis ` or ` memcached ` .
316+ - ` cache_system ` : Select from ` phpfs ` (PHP file cache), ` redis ` or ` memcached ` .
306317
307318
308- - ` fs_cache_path ` : Will be used only if you choose File system as cache_system. Important note: be sur this path
319+ - ` fs_cache_path ` : Will be used only if you choose PHP file cache as ` cache_system ` . Important note: be sur this path
309320 won't be publicly accessible.
310321
311322
312- - ` redis_dsn ` : Will be used only if you choose Redis cache as cache_system.
323+ - ` redis_dsn ` : Will be used only if you choose Redis cache as ` cache_system ` .
313324
314325
315- - ` memcached_dsn ` : Will be used only if you choose Memcached as cache_system.
326+ - ` memcached_dsn ` : Will be used only if you choose Memcached as ` cache_system ` .
316327
317328
318329- ` clean_ip_cache_duration ` : Set the duration we keep in cache the fact that an IP is clean. In seconds. Defaults to 5.
0 commit comments