问题
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