Posted By

BenJD on 02/23/11


Tagged


Versions (?)

Helicon Rewrite - force domain


 / Published in: Apache
 

Force an IIS domain to respond to request only from a specific domain.

  1. RewriteCond %{SERVER_NAME} !example.com
  2. RewriteRule (.*) $1 [F]

Report this snippet  

You need to login to post a comment.