Domino server internet rule “HTTP response headers”

ⅰ亾dé卋堺 提交于 2019-12-14 03:06:49

问题


When creating a "HTTP response headers" rule on a Domino server there is an option for "Customer Header". The description of this field says:

(HTTP Response Header only) For each custom header you want to use, specify:

"Name" - files in the directory are displayed in the browser or downloaded.    
"Value" - files in the directory are CGI files to be executed on the server.    
"Override" -  (override application's header)

In the "Value" field it says something about CGI, so my question is:

Is it possible to add some CGI variable or script in this value field or do it only accepts pure strings?


回答1:


The code will be served AS TEXT by the server, the server will not execute it.

I guessed you've been fooled by the CGI term: it does not means that on server side a program (your code) will run.

http://www-10.lotus.com/ldd/ddwiki.nsf/xpDocViewer.xsp?lookupName=IBM+Redbooks%3A+Best+Practices+for+Domino+8.0+Web+Application+Development#action=openDocument&res_title=07252008102848AMKMKJYL.htm&content=pdcontent



来源:https://stackoverflow.com/questions/24167609/domino-server-internet-rule-http-response-headers

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!