Archive for May, 2009

Example IsapiRewrite4.ini File for IsapiRewrite4

without comments

 

– Redirect attacks

RewriteCond %{REMOTE_ADDR} 10.10.1.0
RewriteRule ^/(.*)$ /$1 [F]

– Redirect from http://foo.com to http://www.foo.com

RewriteCond %{HTTPS} (on)?
RewriteCond %{HTTP:Host} ^(?!www\.)(.+)$ [NC]
RewriteCond %{REQUEST_URI} (.+)
RewriteRule .? http(?%1s)://www.%2%3 [R=301,L]

Written by grantmcinnes

May 28th, 2009 at 3:20 pm

Posted in Technology

Duplicate VM for Hyper-V

without comments

 

  1. Shutdown the VM that you want to duplicate
  2. Make a copy of the VHD file
  3. Create a new VM that joins to the copied VHD file
  4. Start the VM
  5. Launch SysPrep (c:\windows\system32\sysprep.exe) over the new VM once started
  6. Relicense Windows, rename Machine Name

Written by grantmcinnes

May 28th, 2009 at 2:27 pm

Posted in Technology

Regular Expressions Cheat Sheet (V2)

without comments

Written by grantmcinnes

May 20th, 2009 at 3:55 pm

Posted in .NET Programming

Eric Hexter’s Current .NET Application and Tooling Stack

without comments

Written by grantmcinnes

May 20th, 2009 at 3:01 pm

Posted in .NET Programming

Liked “The Conversation Prism”

without comments

 

 

Written by grantmcinnes

May 1st, 2009 at 1:39 pm

Posted in Web 2.0

Roadmap to web 2.0 in healthcare organizations: Slideshow

without comments

Written by grantmcinnes

May 1st, 2009 at 8:32 am

Posted in Medicine,Technology