Did you test that with anything other than "http://yoursite.com/" I'm not sure that it will actually match "http://yoursite.com/foo/". RewriteRules are based on RegEx, not globs. They look very similar.
You many need to make your RewriteRule: RewriteRule ^/.* /alert/alert.php [L] -- ------------------------------------------------------------------------ /(D|\|\))([o0](u[g6]h)?nu[t+7]|[EMAIL PROTECTED](v|\\\/)([e3]|[i1!](d|\|\))))/i On Fri, 20 Aug 2004, Robby Russell wrote: >On Fri, 2004-08-20 at 13:12, Randal L. Schwartz wrote: >> >>>>> "Robby" == Robby Russell <[EMAIL PROTECTED]> writes: >> >> Robby> What method should I go about doing this with? Rewrite? >> >> Yes. See <http://httpd.apache.org/docs/misc/rewriteguide.html>, >> with an example similar to "Blocking of robots". > >Thanks! > >this worked: > >RewriteCond %{REMOTE_ADDR} ^192\.168\.1\.1$ >RewriteRule ^/* /alert/alert.php [L] > > > >-- >/*************************************** >* Robby Russell | Owner.Developer.Geek >* PLANET ARGON | www.planetargon.com >* Portland, OR | [EMAIL PROTECTED] >* 503.351.4730 | blog.planetargon.com >* PHP/PostgreSQL Hosting & Development >****************************************/ > > _______________________________________________ PDXLUG mailing list [EMAIL PROTECTED] http://pdxlug.org/mailman/listinfo/pdxlug
