header http status code

dennis cao dennis__cao at hotmail.com
Tue Sep 29 09:54:49 MSD 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090929/ce91cd8c/attachment.html>


More information about the nginx mailing list