[Wolves] one for you apache experts

Baza baza at themauvezone.fsnet.co.uk
Tue Mar 28 00:47:10 BST 2006


Works brill, forgive the top posting



On 27 Mar 2006, at 23:52, Simon Morris wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Simon Morris wrote:
>
>>
>> Apache code
>>
>> RewriteEngine On
>> RewriteCond %{HTTP_REFERER} http://www.eccosys.net/test.htm
>> RewriteRule ^.* http://www.google.com/search?q=cheesecakes [L]
>> RewriteRule ^/$ http://www.beerandspeech.org/bounce.htm
>>
>> Interestingly - the RewriteRule for Google there means that if you  
>> try
>> to follow a link from eccosys.net/test.htm to my site you get a  
>> google
>> listing of pages about Cheesecakes
>>
>
> Sorry - I should have been clearer.
>
> You don't need both RewriteRule statements - either one will work.
>
> The Google one was me playing around
>
> ~sm
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFEKGzFtjeLJb8KijsRAk0hAJ4opX32qXPCNHgN0NZ2Jw0RySN7KgCeOe2q
> h6XucXwfy349lzJJre54Pf8=
> =aNG3
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wolves LUG mailing list
> Homepage: http://www.wolveslug.org.uk/
> Mailing list: Wolves at mailman.lug.org.uk
> Mailing list home: https://mailman.lug.org.uk/mailman/listinfo/wolves
>





More information about the Wolves mailing list