[163693] in North American Network Operators' Group
Re: Citrix Netscaler Rewrite Issue
daemon@ATHENA.MIT.EDU (Jonathan Matthews)
Fri Jun 14 12:25:58 2013
In-Reply-To: <FB0BEB07CA11E54A83B331AD1C263ED665BE9C8A@CHQ-MDF-MBX-01.paulo.com>
Date: Fri, 14 Jun 2013 17:19:11 +0100
From: Jonathan Matthews <contact@jpluscplusm.com>
To: "nanog@nanog.org" <nanog@nanog.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
On 14 June 2013 16:51, Jason Faraone <JFaraone@paulo.com> wrote:
> I've been sitting here frustrated for a bit this morning so hopefully som=
eone here can shed some light...
>
> I have a Citrix Netscaler appliance (v10.0) and I would like to rewrite a=
URL - essentially when someone visits www.example.com<http://www.example.c=
om>, I would like to redirect them to www.example.com/pls/apex/f?p=3D103:1<=
http://www.example.com/pls/apex/f?p=3D103:1>
>
> This seems to work well enough until I get to the question mark, at which=
point things fall apart.
>
> "The requested URL /pls/apex/f was not found on this server."
I don't think the problem is with the Netscaler or your escaping; I
think that whatever's serving www.example.com doesn't have a page for
/pls/apex/f and is quite correctly telling you this.
The part after the question mark is called the "query string", and
it's (usually) used to communicate parameters to a page - a page which
must already exist (except in very specific circumstances), without
the query string.
What happens if you "curl -v www.example.com"? Do you see the 30[23]
redirect coming back? If so, it's a server-side problem and not an
issue with the appliance.
Jonathan
--
Jonathan Matthews
Oxford, London, UK
http://www.jpluscplusm.com/contact.html