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

CSS - Any 'no prepend-http' limitations?

a.veschak
Level 1
Level 1

All,

I currently have the following redirect service configured on my CSS...

service cat_dog_redirect

type redirect

keepalive type none

no prepend-http

domain https://dog.food.com

active

It redirects any services coming in on https://cat.food.com to https://dog.food.com and works fine, but I do have a question.

Is there a character limitation on the size of the URL string following the https://dog.food.com prepend?

I haven't hit any issues thus far... just want to know an answer here 'cause some of our URLs can get pretty long and I want to have an answer if we do hit something down the road.

As always, thanks for any help!

-Adam

4 Replies 4

Diego Vargas
Cisco Employee
Cisco Employee

Hi Adam, character limitation is 64. However keep in mind that the domain command is used when you only want to change the domain and preserve the URI of the original request and I guess is not really common to have a 64 length domain.

Hope it helps

Diego,

Thanks for the reply... and clarification. I guess I worded my original question wrong.

I do indeed want to change the domain from cat.food.com to dog.food.com and that's working fine. I am mainly concerned with the original URI being preserved... which is really my question.

Is there a character limitation on the size of the preserved URI?

Thanks!

-Adam

All,

Still looking for an answer on this one.

Is there a limitation to how many characters can be preserved after the http-prepend occurs?

For example, my config does the following (and works fine):

1.) User comes in on https://cat.food.com/

2.) CSS changes the domain via http-prepend to https://dog.food.com

3.) Is there any limitation on the MAX # OF CHARACTERS that can be preserved from the originating URL?

I'm not talking about the domain here (64 character limitation)... I'm talking about the URL string following the domain name.

Hope this helps clarify my original question.

Thanks!

-Adam

I know that if you use "redirect-string" then the maximum string you can specify should not exceed 252 characters.(It used to be 64 chars before 7.5 code)

http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.10/command/reference/CmdSrvC.html#wp1140361

With domain command I am not sure. I dont have access to a CSS to test it but I think that either it should be 252 (same as redirect-string) or there should be no limit.

If you have a CSS in hand you can verify that by creating a test 252+ length url on server.

Hope this helps

Syed Iftekhar ahmed

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: