Global.asa/custom registered asp extensions

Results 1 to 2 of 2

Thread: Global.asa/custom registered asp extensions

  1. #1
    Join Date
    Dec 1969

    Default Global.asa/custom registered asp extensions

    OK got a toughie for someone. Here&#039;s what I am trying to do:<BR>I have registered ".gif" to point to the "asp.dll" processor in IIS. In the global.asa I have code that locks out access based on http_referrer (to preclude any comments, yes it is easily spoofed) We also do a binarywrite to return the file to the user.<BR><BR>Here is the problem:<BR>It works with one test gif file, but with another file IIS tries to execute the gif as an ASP (thus returning syntactical errors) without even executing the global.asa. I have tried both response.write&#039;s and putting in glaring syntactical errors in the global.asa to check that indeed it isn&#039;t being executed. <BR><BR>Does anyone know why IIS is trying to preprocess the GIF before running the global.asa?

  2. #2
    Join Date
    Dec 1969

    Default RE: Global.asa/custom registered asp extensions

    It&#039;ll parse and compile both files before running them. this&#039;d be a compilation error, so it&#039;s not getting as far as running the files.<BR><BR>Could do with confirmation on this, but that&#039;s what I think it is.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts