via

IIS6 not doing gzip compression when including Via header in request

I have some static content going through a CDN. I am using IIS6's built in compression (gzip & deflate) for static content and this is working fine when I request it. However, when the CDN makes the initial request for the content, it is not being returned compressed. They therefore don't have compressed content to forward to people r...

Can anyone help me with setting folder permissions in IIS via an asp page?

I can create the folder, but I need to set the execute permissions to none/false for the folder named files. I have tried several examples on the net and none work correctly. Doing this manually in IIS is not an option, it must be done dynamically when the folder is created. Here is what I use to create the folders: set fso = Server.Cr...

Java 2D - Drag Mouse to rotate Image Smoothly

What is the logic that goes behind rotating an image via mouse movement. I know how to rotate using graphics2d.rotate...but having difficulty doing it with the mouse as the source for rotation. Here is basic steps: get mouse x(dx) and mouse y(dy) distances from anchoring point( in this case that would be the center of the image we w...