added SECURE_REDIRECT_RELATIVE