Fixes Apache open fwd proxy bug #1224362

Fix to close a security issue about the open apache forward proxy created by GeoNode.

See https://bugs.launchpad.net/oq-platform/+bug/1224362