Fix cached port in apache dict