Hello,
I cannot find any reference that this should be a standard server
variable. According to [1] HTTP_<HeaderName> is a HTTP header with the
name HeaderName. This means that X-Rewrite-URL (underscores are replaced
with dashes) is the HTTP header, and this is a non-standard HTTP header
(see RFC 2616). So your server variable (HTTP header) has to be added by
custom code (it cannot be "enabled" because there is nothing to enable).
I know that ISAPI_Rewrite adds this header, so perhaps your ASP.NET
application assumes that ISAPI_Rewrite is installed? But since the header
is non-standard, nobody knows what it actually refers to (it can be
anything), so it is not possible to say if this is the missing
application, if your code needs something else that adds this header, or
if it is supposed to add this itself. The documentation may say something.
If you wrote the code, you should know what it needs.
So i am afraid i cannot give you any solution how to add it, because i
don't know what your application assumes that X-REWRITE-URL should
contain, nor do i know the requirements of your application.
[1]
http://www.microsoft.com/windows2000...p/vbob5vsj.htm
RFC 2616
http://www.w3.org/Protocols/rfc2616/rfc2616.html
ISAPI_Rewrite
http://www.isapirewrite.com/docs/
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Peter Afonin wrote:
Hello,
I'm hosting my web sites on Windows server 2003. For some reason it
doesn't have server variable HTTP_X_REWRITE_URL enabled, which is causing
problems with some ASP.NET applications. How to add it or turn it on?
I would appreciate your help.
Thank you,