Reply to Re: Redirection based on Query string

Your name:

Reply:


Posted by Reffo on 09/10/07 17:04

> Hi Reffo,
>
> Can you post the relevant part of your log file, so I can see what is
> going wrong?
>
> Regards
>
> Ian

Here's the part of the htaccess file regarding this redirection:
RewriteEngine On
RewriteCond %{QUERY_STRING} .*http:\/\/.* [NC,OR]
RewriteCond %{QUERY_STRING} .*http%3A%2F%2F.* [NC]
Rewriterule ^(.*) /btrap [R,L]
RewriteCond %{HTTP_USER_AGENT} ^libwww-perl [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^lwp [NC]
RewriteRule ^(.*) /btrap/index.php [R,L]
RewriteCond %{HTTP_REFERER} \.cn [NC,OR]
RewriteCond %{HTTP_REFERER} moretrash\.com
RewriteRule .* - [F]

-Trond

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация