cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
458
Views
0
Helpful
4
Replies

Redirect String

sfrisby
Cisco Employee
Cisco Employee

It is my understanding that the redirect-string service command supports up to 256 characters in 7.4 - this helps.

However under version 7.10 I need to put in a url string that has a "?" - The command reference indicates that I can put the string in with quotes - however I get the following error...

CSS-LA-1(config-service[rd-orderlatimes.com-http])# redirect-string "https://www.www.com"

^

%% Improperly formed text string.

I thought I would need the quotes in order to put in special characters like the "?" - but it appears that it does not like the quotations.

Can anyone help ?

thx

4 Replies 4

pknoops
Level 3
Level 3

Hi,

Where exactly are you trying to put the "?" in the URL as I do not see it typed in this line:

CSS-LA-1(config-service[rd-orderlatimes.com-http])# redirect-string "https://www.www.com"

Thanks

Pete..

Im just making up the URL for now.

Let's say it's www.cisco.com/oak?xxx

The TAC states that I can use quotes to enter this.

However the command prompt give me an error when I try to use the quotations.

Will a code upgrade resolve this.

Yes, a code upgrade should fix your issue.

Using 7.40 in my lab, I was able to do the following:

S503(config)# service pete

CS503(config-service[pete])# redirect-string "www.pete.com/oak?xx"

CS503(config-service[pete])#

No errors.

Regards

Pete..

thanks - much appreciated