Apache mod_alias – Not Found

I was facing a ‘Not found’ using alias/mod_alias.

Not Found
The requested URL /home/ftp (…..) /index.php was not found on this server.

Alias "/ps/" "/home/ftpuser/ps/"
<Directory "/home/ftpuser/ps/">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

Apache was searching the file in /var/www/html/home/ftp

File does not exist: /var/www/html/home/ftpuser/ (...) /index.php

To solve it I had to tweak .htaccess and set RewriteBase.

RewriteBase /ps/admin/

nginx proxy timeout

*1751 upstream timed out (110: Connection timed out) while reading response header from upstream

nginx errror log

On the location /proxed/ { or your proxy_pass

proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;

wp_wfConfig too large

While debugging some bottlenecks in one of my servers…

i’v realised that one of my db queries to Wordfence tables were causing it.

Solution was to… uninstall wordfence – to clean all their tables – anda reinstall it.

After removing it 23:30, CPU usage and Load Average was a significantly reduced.