<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012086" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012086</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069767</link>
    <description> &lt;p&gt;I think you&#039;re going to have to do something with Rewrite rules in your conf files (I&#039;m not sure if these work in .htaccess files). You can do what Apache calls Referer Deflection (at the bottom of the following doc):&lt;br /&gt;
&lt;a href=&quot;http://www.apache.org/docs/misc/rewriteguide.html&quot; class=&quot;bb-url&quot;&gt;http://www.apache.org/docs/misc/rewriteguide.html&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Aug 2000 15:52:03 +0000</pubDate>
 <dc:creator>Jonathan Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1069767 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069750</link>
    <description> &lt;p&gt;would you be able to do something like this with .htaccess?&lt;/p&gt;
&lt;p&gt;I know you can for file redirection, but can you put HTTP_REFERER logic in there?&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Aug 2000 06:02:41 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1069750 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069737</link>
    <description> &lt;p&gt;I&#039;m using the Black Perl Book, not bad at all!&lt;br /&gt;
But the best book I&#039;ve found when got started with CGI scripting is (still now) CGI101 (&lt;a href=&quot;http://www.cgi101.com&quot; title=&quot;www.cgi101.com&quot;&gt;www.cgi101.com&lt;/a&gt;)&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Aug 2000 00:35:20 +0000</pubDate>
 <dc:creator>123finder.com</dc:creator>
 <guid isPermaLink="false">comment 1069737 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>It works!!!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069736</link>
    <description> &lt;p&gt;Son/123Finder&#039;s solution worked like a charm - easy to use, worked the first time - once I figured out that I needed to hit Refresh (duh!)&lt;/p&gt;
&lt;p&gt;I&#039;m thrilled.  I&#039;ve been putting up with this not being right forever.  Now &lt;a href=&quot;http://www.scritchies.com&quot; class=&quot;bb-url&quot;&gt;http://www.scritchies.com&lt;/a&gt; goes to someplace where I can put my new horse-related site.  Yeehaaa.&lt;/p&gt;
&lt;p&gt;Thanks to you all, for the suggestions and book recommendation.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;  Have a great weekend.&lt;/p&gt;
&lt;p&gt;Linda&lt;/p&gt;
 </description>
     <pubDate>Sat, 19 Aug 2000 00:25:44 +0000</pubDate>
 <dc:creator>Linda</dc:creator>
 <guid isPermaLink="false">comment 1069736 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069734</link>
    <description> &lt;p&gt;Linda, welcome to TWF! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Make sure to post if you have any more problems.&lt;/p&gt;
&lt;p&gt;Also, for a book recommendation, anything published by O&#039;reilly would be great.  I think the book &quot;Learning Perl Programming&quot; (or something like that) would be great for the begginer.  Another thing to note is that the above suggested book (if I&#039;m thinking about the right one) was written by the creater of PERL, Larry Wall.&lt;/p&gt;
&lt;p&gt;Richard&lt;br /&gt;
richjb::413&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Aug 2000 23:58:16 +0000</pubDate>
 <dc:creator>richjb</dc:creator>
 <guid isPermaLink="false">comment 1069734 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069725</link>
    <description> &lt;p&gt;I have Domain Redirector 1.1 CGI script (freeware) from scriptsolutions.com&lt;/p&gt;
&lt;p&gt;If anyone wants to get it, mail to &lt;a href=&quot;mailto:webmaster@guideclick.com&quot;&gt;webmaster@guideclick.com&lt;/a&gt;, I will send it to you.&lt;br /&gt;
Or if there is a request to post the code on this board (not very long, about 1 page!), I&#039;ll do it!&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Aug 2000 21:16:50 +0000</pubDate>
 <dc:creator>123finder.com</dc:creator>
 <guid isPermaLink="false">comment 1069725 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thanks Jonathan!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069715</link>
    <description> &lt;p&gt;I can&#039;t wait to try it.  Thank you so much.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
Linda&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Aug 2000 18:19:44 +0000</pubDate>
 <dc:creator>Linda</dc:creator>
 <guid isPermaLink="false">comment 1069715 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069714</link>
    <description> &lt;p&gt;If you wanted to do something like this in perl CGI (though it&#039;s not really practical for this specific purpose) you&#039;d use something like the following in an index.cgi script at the top of your web site:&lt;/p&gt;
&lt;p&gt;[code]&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
if (%ENV{HTTP_REFERER} eq &quot;http://http://www.mywork.com&quot;)&lt;br /&gt;
   {print &quot;location: http://www.mysite.com/work/\n\n&quot;;}&lt;br /&gt;
elsif (%ENV{HTTP_REFERER}) eq &quot;http://http://www.myhobbies.com&quot;)&lt;br /&gt;
   {print &quot;location: http://www.mysite.com/hobbies/\n\n&quot;;}&lt;br /&gt;
else {print &quot;location: http://www.mysite.com/index.htm\n\n&quot;}&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Aug 2000 18:08:29 +0000</pubDate>
 <dc:creator>Jonathan Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1069714 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/iffromhere-thengothere-can-it-be-done#comment-1069713</link>
    <description> &lt;p&gt;It would probably be easier to do using JavaScript on your index page using the following syntax at the top of the page after the  tag:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script&amp;amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;if (document.referrer == &amp;quot;http://www.mywork.com&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; {location = &amp;quot;http://www.mysite.com/work/&amp;quot;;};&lt;br /&gt;if (document.referrer == &amp;quot;http://www.myhobbies.com&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp; {location = &amp;quot;http://www.mysite.com/hobbies/&amp;quot;;};&lt;br /&gt;--&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Fri, 18 Aug 2000 18:01:57 +0000</pubDate>
 <dc:creator>Jonathan Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1069713 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
