From your example , this how you use a arbitrary header
(在您的示例中,这是如何使用任意标头的方法)
-Dcgi.http_cookie=$HTTP_COOKIE
The header Y-Request
must be available in the variable HTTP_Y_REQUEST
.
(标头Y-Request
必须在变量HTTP_Y_REQUEST
可用。)
You CGI script has a big security, someone can inject arbritrary shell command , you must quote the usage of all variables .
(您的CGI脚本具有很大的安全性,有人可以注入任意shell命令,您必须引用所有变量的用法。)
-Dcgi.http_cookie="$HTTP_COOKIE"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…