[nzlug] BrowserMatch controlled behaviour for Apache?
Robin Sheat
robin at kallisti.net.nz
Sat Jul 5 16:39:40 NZST 2008
On Saturday 05 July 2008 14:42:10 R. Eimann wrote:
> I know that the User-Agent header field can easily be spoofed, but not by
> the to users I have in mind here.
>
> Would appreciate some pointers...
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "<user agent regex>$"
RewriteRule ^.* http://page.that.explains.whats.happening [R=302,L]
pretty much in whatever apache config you like should do the trick.
--
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.kallisti.net.nz>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.linux.net.nz/pipermail/nzlug/attachments/20080705/38ca958d/attachment.pgp
More information about the NZLUG
mailing list