[Wolves] one for you apache experts

Simon Morris simon.morris at cmtww.com
Tue Mar 28 00:01:04 BST 2006


-----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-----



More information about the Wolves mailing list