|
Posted by Reffo on 09/12/07 20:52
>
> The code was giving the 302, because that is what the [F] told it to do.
>
> I think you need 3 lines in your .htaccess file only
>
> RewriteEngine on
> RewriteCond %{QUERY_STRING} .*http:\/\/.* [NC]
> RewriteRule ^/.*) /btrap/index.php [L,R]
>
> This will send them to your /btrap/index.php file, where you can create a
> suitable page for them.
>
> If you want to send them to another site, the last line is...
>
> RewriteRule ^/(.*) http://fully.qualified.domain.name/$1 [L,R]
>
> I don't think the other entries are necessary.
>
Thank You!
I removed some of the other lines in htaccess, and it seems like
everyone using =http:// is being redirected and catched by the trap.
At least it has worked for two days now.
Regards,
Trond
[Back to original message]
|