<div class="gmail_quote">On Sun, Feb 28, 2010 at 4:19 PM, Simone Dal Maso <span dir="ltr">&lt;<a href="mailto:simone.dalmaso@juvox.it">simone.dalmaso@juvox.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi,<br>
I don&#39;t know if this is a drupal issue, so I apologize if this request is<br>
made in the wrong place.I have my website, <a href="http://www.example.com" target="_blank">www.example.com</a>.<br>
I create a subdomain and it is properly running, with help of domain module.<br>
<a href="http://subdomain.example.com" target="_blank">http://subdomain.example.com</a><br>
<br>
this subdomain is a service for a customer that has his own website, not<br>
with drupal, but wants a particular service and I make it for him. He wants<br>
that:<br>
<a href="http://subdomain.example.com" target="_blank">http://subdomain.example.com</a><br>
is accessible only from its link in his homepage, not from external user. In<br>
a few words, the subdomain should work only if the visit comes from his<br>
website.<br>
Do you think that a similar thing have sense?<br>
I still didn&#39;t give any answer about it, because it appears to me a strange<br>
request and I don&#39;t know how to realize it.<br>
<br>
What do you think about it?<br>
<br>
ps: I really thank  this group because every time I made a question I always<br>
had a good feedback, sometime I forgot to thank people.<br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br>This doesn&#39;t seem to me a drupal issue.<br>I don&#39;t if some module is there to check referring website,<br>but you can use this in the htaccess -<br><br>RewriteCond %{HTTP_REFERER} !=<a href="http://customerwebsite.com">http://customerwebsite.com</a><br>

RewriteRule (.*) runawaypage.html [R=301]<br clear="all"><br>THIS SHOULD COME BEFORE DRUPAL REWRITE RULES OTHERWISE IT WILL NOT WORK.<br><br>-- <br>Nilesh Govindarajan<br>Site &amp; Server Administrator<br><a href="http://www.itech7.com">www.itech7.com</a><br>

<br>