Fix CGI path in the Apache config.

Fixes #5062