Welcome! Log In Create A New Profile

Advanced

header http status code

September 29, 2009 02:00AM
dear all
I want to set the http status code use if directive not the error_page directive!
I want to know what header variable to get the http status code
if ($header_something ~* ‘404’) {
return 402;
}
what is the $header_something?




thanks

_________________________________________________________________
5 GB 超大容量 、創新便捷、安全防護垃圾郵件和病毒 — 立即升級 Windows Live Hotmail
http://mail.live.com
Subject Author Posted

header http status code

dennisjanuary September 29, 2009 02:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 117
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready