12-07-2007 07:17 AM
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
12-07-2007 08:13 AM
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
12-07-2007 08:22 AM
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
12-12-2007 10:18 AM
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
12-12-2007 12:27 PM
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
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: