write/modify http server variables?

Topics: Developer Forum, User Forum
Nov 12, 2007 at 5:50 PM
is it possible to write/modify the server varibles in IIRF?

helicon's (not free) ISAPI Rewrite supports not only RewriteRule, but also RewriteHeader, which is specifically for rewriting http request (server) variables.
this comes in particularly useful for applications such as MS Content Management Server 2002 where the application itself is expecting a certain host header but we require access via a different host header (eg, http://authoring-www.domain.com/ as read-write and http://www.domain.com/ as read-only into the same CMS host-header specific channel).
using syntax as below for helicon's ISAPI Rewrite does the trick.

RewriteCond Host: authoring-www\.domain\.com
RewriteHeader Host: .* www\.domain\.com

can this be accomplished in IIRF? how?
Coordinator
Nov 21, 2007 at 10:02 AM
No, IIRF does not do this, but there is an open work item:
http://www.codeplex.com/IIRF/WorkItem/View.aspx?WorkItemId=8464