Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- rewrite rule .(tld)


dougwilson - 1:05 pm on Nov 20, 2012 (gmt 0)


This:

RewriteCond %{HTTP_REFERER} ^http(s)?://(.*)?\.(tld|tld)(/.*)?$
RewriteRule ^(.*)$ http://www.example.com/log.cgi [R=301,L]

Works fine but for obvious reasons keeps redirecting. So far I've tested [ ], [R], [R=301,L] and [L]. All result in multiple redirects. Up to (5 times, Total elapsed time: 0 seconds)

Tested, RewriteOptions MaxRedirects=2, no change.

I could [F], but thats no fun


Thread source:: http://www.webmasterworld.com/apache/4520719.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com