Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x support forum
 Helicon Tech : ISAPI_Rewrite 2.x support forum
Subject Topic: html header if-modified-since Issue Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
schalk
Newbie
Newbie


Joined: 15 May 2007
Location: United Kingdom
Online Status: Offline
Posts: 33
Posted: 06 August 2008 at 3:47pm | IP Logged Quote schalk

I am trying to work out why I can't read the http header if-modified-since in my asp application.

I use isapi to redirect non www to www and default.asp to /. (Which is all working ok)

So I am wondering whether isapi could be blocking this header from reaching the IIS 6 web server.

Could this be possible?

Cheers,

Simon.

Back to Top View schalk's Profile Search for other posts by schalk
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 07 August 2008 at 7:28pm | IP Logged Quote Lexey

No, ISAPI_Rewrite does not remove any http headers. May be some other filter or IIS itself removes it.
Back to Top View Lexey's Profile Search for other posts by Lexey
 
schalk
Newbie
Newbie


Joined: 15 May 2007
Location: United Kingdom
Online Status: Offline
Posts: 33
Posted: 08 August 2008 at 8:04am | IP Logged Quote schalk

Looks like the header is getting through to IIS after all, so not an ISAPI issue.

Is it possible to create a custom header copied from a header received?

So if the 'if-modifed-since' header is received, an exact copy of this is appended to other headers, but called something different?

Cheers,

Simon.

Back to Top View schalk's Profile Search for other posts by schalk
 
Lexey
Moderator Group
Moderator Group


Joined: 15 August 2002
Location: Russian Federation
Online Status: Offline
Posts: 7598
Posted: 09 August 2008 at 11:51am | IP Logged Quote Lexey

Yes, the following should work:

RewriteCond If-Modifed-Since: (.*)
RewriteHeader X-My-Header: .* $1
Back to Top View Lexey's Profile Search for other posts by Lexey
 
schalk
Newbie
Newbie


Joined: 15 May 2007
Location: United Kingdom
Online Status: Offline
Posts: 33
Posted: 09 August 2008 at 12:19pm | IP Logged Quote schalk

thanks Lexey. Sorry for creating the duplicate post called rewrite header
Back to Top View schalk's Profile Search for other posts by schalk
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum