CSS - Any 'no prepend-http' limitations?

Unanswered Question
Dec 7th, 2007


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


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!


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Diego Vargas Fri, 12/07/2007 - 08:13

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

a.veschak Fri, 12/07/2007 - 08:22


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?



a.veschak Wed, 12/12/2007 - 10:18


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.



Syed Iftekhar Ahmed Wed, 12/12/2007 - 12:27

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)


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


This Discussion