Здравствуйте.
Мой проект на данный момент не предусматривает наличие большого количества динамически изменяемых страниц, поэтому был выбран плагин для кэширования W3 Total Cache. Я его настроил, но в результате получил следующую ошибку:
W3 Total Cache error: It appears Page Cache URL rewriting is not working. Please verify that the server configuration allows .htaccess
Unfortunately disk enhanced page caching will not function without custom rewrite rules. Please ask your server administrator for assistance. Also refer to the install page for the rules for your server.
.htaccess file contains rules to rewrite url https://***/w3tc_rewrite_test into https://***/?w3tc_rewrite_test which, if handled by plugin, return "OK" message.
The plugin made a request to https://***/w3tc_rewrite_test but received:
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received
instead of "OK" response.
Подскажите, как исправить эту ошибку?
При проверке совместимости:
Server Modules & Resources:
Plugin Version: 0.9.7.4
PHP Version: 7.3.0;
Web Server: Apache
FTP functions: Installed (required for Self-hosted (FTP) CDN support)
Multibyte String support: Installed (required for Rackspace Cloud Files support)
cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
zlib extension: Installed (required for gzip compression support)
brotli extension: Not installed (required for brotli compression support)
Opcode cache: Installed (OPCache)
Memcached extension: Not installed
Memcache extension: Not installed
Redis extension: Not installed
HTML Tidy extension: Not installed (required for HTML Tidy minifier support)
Mime type detection: Installed (Fileinfo) (required for CDN support)
Hash function: Installed (hash) (required for NetDNA / MaxCDN CDN purge support)
Open basedir: Off
zlib output compression: Off
set_time_limit: Available
SSH2 extension: Not installed (required for Self-hosted (FTP) CDN SFTP support)
mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_ext_filter: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache)
mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)
Additional Server Modules
New Relic
PHP version: Supported
Operating System: Supported
Web Server: Supported
UPD. Как позже выяснилось, под авторизованным пользователем сайт работал, так как кэширование было отключено, а вот гостям выходила пустая страница.