On 08/29/2007 02:25 PM, Grant wrote:
>> I'd like to 301 redirect any robot that accesses one of my pages with
>> a session ID in the URI. This could happen from the spider following
>> a link to one of my pages from another site which includes the session
>> ID.
>>
>> The session ID is the only query string I use at all, so that could
>> make it simpler. I can use [data session spider] to make the spider
>> determination and [bounce status="301"] to redirect, but how can I
>> determine if a session ID or (alternatively) a query string is
>> included with the request?
>
> Got this going with [env QUERY_STRING].
Not positive about this, but I think you should be able to tell with
$CGI->{id} as well.
Peter
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.