HTTP_X_REWRITE_URL

P

Peter Afonin

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,
 
K

Kristofer Gafvert

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/windows200...indows2000/en/server/iis/htm/asp/vbob5vsj.htm

RFC 2616
http://www.w3.org/Protocols/rfc2616/rfc2616.html

ISAPI_Rewrite
http://www.isapirewrite.com/docs/
 
Y

youri

HTTP_X_REWRITE_URL is not a standard servervariable, and you 'll only
see it if the ISAPI_Rewrite filter is installed.
I think asp.net dll is called before the isapi filter. Maybe you can
try to apply the isapi on an application pool in order to have it
running before the aspnet.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top