-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

> r...@openwrt: _http redirect 302 http://1.1.1.1
> HTTP/1.1 302 Temporary Redirect

This is only valid for nph scripts. The CGI spec defines the following
header for overriding the HTTP status:

  Status: code message\r\n

So your script has to output:

  Status: 302 Temporary Redirect\r\n

~ Jow
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0p6GsACgkQdputYINPTPPbFACgnSfL52izqotPXmW0MIzWc5sK
HkIAn1J1zGN5oGRZL3KqrtU4+tIjqSHC
=v6zy
-----END PGP SIGNATURE-----
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to