Here are the two short steps required to ensure licensing is setup properly so you're able to use the plugin:
0) Retrieve the VALID_IP
1) Create and this content to file /usr/local/apache/htdocs/prepend.php where VALID_IP is the licensed IP, which is visible in your client area by selecting the plugin service.
<?php
$_SERVER['SERVER_ADDR'] = 'VALID_IP';
?>
2) Open /usr/local/lib/php.ini and edit the variable auto_prepend_file so it looks like this:
auto_prepend_file = "/usr/local/apache/htdocs/prepend.php"
- 8 Пользователи нашли это полезным
Связанные статьи
ModSecurity: Access denied with code 400. Too many threads [256] of 100 allowed in READ state from x.x.x.x - Possible DoS Consumption Attack [Rejected]
Modsecurity has a mechanism that throttles down IPs with excessive connection rates. Varnish,...
Stop worpress wp-login.php brute force attacks with Varnish throttling (Rate Limit)
Version 1.8.4 of the cPanel Varnish Plugin has seen a new feature being introduced: the ability...
Correct IP reporting in legacy software / scripts
The plugin follows reverse proxy software proper handling of X-Forwarded-For headers and in this...
vBulletin correct reporting of IP address
It's recommended to make the following changes to includes/config.php so vB doesn't report...
Why does the plugin change the server header?
Normally, if you download and install Varnish (the source not the plugin) yourself, the headers...
Powered by WHMCompleteSolution