Forum Moderators: coopster & phranque

Message Too Old, No Replies

RewriteLog

What are the real world uses for this?

         

mdharrold

11:46 pm on Apr 8, 2002 (gmt 0)

10+ Year Member



Is anyone using this?
What are you using it for (besides spider identification)?
If you are using it, what RewriteLogLevel are you using?

Does the log capability come down to giving the webmaster something that says, "Yes, I am working."?

bird

12:14 am on Apr 9, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have never used it yet, but I guess I'd use it when I had a complicated set of rules that just didn't want to work the way I wanted. It will give you a way to figure out what the system actually does and in what sequence.

awoyo

2:37 pm on Apr 10, 2002 (gmt 0)

10+ Year Member



I use it on some sites to redirect unwanted spiders to a blank file. I used to use it to redirect email farmers to a script that would spit out massive amounts of bogus email addresses until I began realizing there are better ways of protecting my sites from spammers.


RewriteEngine on
Options +FollowSymlinks
RewriteBase /

RewriteCond %{HTTP_USER_AGENT} Wget/.*
RewriteRule ^.*$ X.html [L]

More info here. [url=httpd.apache.org/docs/mod/mod_rewrite.html]httpd.apache.org/docs/mod/mod_rewrite.html[/url]

richlowe

5:03 pm on Apr 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use rewrite extremely heavily to rediect those annoying virus attacks away.

RIchard Lowe

mdharrold

5:45 am on Apr 13, 2002 (gmt 0)

10+ Year Member



I'm looking for a use of RewriteLog. Not RewriteRule, RewriteEngine, or RewriteCond.
I am aware how to use these but have never used the RewriteLog.