Forum Discussion
Stanislas_Piro2
Aug 15, 2016Cumulonimbus
Hi,
- client_ip is the client IP
- remote_ip is client IP in clientside events (HTTP_request is a clientside event), and server IP in server side events
Why do you respond with 401 code which is the authentication response code.
if you want authentication, you must reply with the following parameters:
HTTP::respond 401 noserver WWW-Authenticate "Basic realm=\"Your authentication realm\""
if you want HTTP redirect (with location header), the response code is 302 (temporary redirect) or 301 (persistent redirect)