HTTP_X_HOTLINKBLOCKER_SIGNATURE appears but not Request.SV

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 6
Joined: 05 Apr 2012, 04:18

HTTP_X_HOTLINKBLOCKER_SIGNATURE appears but not Request.SV

15 Aug 2015, 10:51

Hi,

My problem is when I use Request.ServerVariables("ALL_HTTP")

I can see password for HTTP_X_HOTLINKBLOCKER_SIGNATURE:231c9b98017b1504 or similiar.

But when I use Request.ServerVariables("HOTLINKBLOCKER_SIGNATURE") all I get is empty response.

I use them on same page...

Code: Select all
Response.Write "Signature: " & Request.ServerVariables("ALL_HTTP")
Response.Write "<br />s:" & Request.ServerVariables("X-HOTLINKBLOCKER_SIGNATURE")
Response.Write "<br />s:" & Request.ServerVariables("HOTLINKBLOCKER_SIGNATURE")


I am migrating to new server from 2008 to 2012 R2, it is amazing same code does not work there with same version of HeliconApe

User avatar
Posts: 6
Joined: 05 Apr 2012, 04:18

Re: HTTP_X_HOTLINKBLOCKER_SIGNATURE appears but not Request.

15 Aug 2015, 16:27

What is interesting is, when I use it on my development computer, it does not even show HTTP_X_HOTLINKBLOCKER_SIGNATURE on HTTP_ALL but has Request.ServerVariables response correctly...

C'mon what's the matter with new computer not giving me Server Variable?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: HTTP_X_HOTLINKBLOCKER_SIGNATURE appears but not Request.

16 Aug 2015, 23:59

Hello,

If the situation is not reproduced on 2 machines with the same OS, it must be something to do with machine-specific settings.
Please compare what is different on your dev and prod servers.
Consider using Failed request tracing tool in IIS to see how request is handled and what changes server variables.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 29 guests