correct location re-write rule to include main server port (when not 80)