Forum Discussion
taka_39171
Nimbostratus
Apr 24, 2009about i-rule sorry page configuration
hi.
i want to use i-rule sorry page in LTM-3600(ver 9.4.5).
sample config is in the following japanese url.
http://devcentral.f5.com/Default.aspx?tabid=120&articleType=ArticleView&articleId=249
i could b load by using sample maint.index.html.class written in single strings(=english character.
but could not b load customized maint.index.html.class written in Multibyte
strings(= japanese character) .
[root@cld12-L:Active] config b load
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/bin/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/bigip.conf.
Loading the configuration ...
BIGpipe: class modification error:
01070648:3: The requested string class (maint_index_html) member includes a binary character.
it looks like sorry page written in Multibyte strings(= japanese character) is not
supported in bigip.
does bigip support japanese character sorry page ?
12 Replies
- hoolio
Cirrostratus
Hello Ito Taka,
You could probably base64 encode the contents of the maint.index.html.class file in the same way that the article describes encoding the image contents. You could then use b64decode in the iRule to send back the unencoded content.
Aaron - taka_39171
Nimbostratus
hi.
Aaron
thank you for your advice.
i changed the i-rule in maker sample url.
"/index.html" { HTTP::respond 200 content [lindex $::maint_index_html 0] "Content-Type" "text/html" }
-->
"/index.html" { HTTP::respond 200 content [b64decode [lindex $::maint_index_html 0]] "Content-Type"
"text/html" }
http://devcentral.f5.com/Default.aspx?tabid=120&articleType=ArticleView&articleId=249
and did b64 encode all content of maint.index.html.class by the following url.
http://www.opinionatedgeek.com/dotnet/tools/Base64Encode/Default.aspx
but b load error ..
[root@fsl01-L:Active] class b load
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/bin/monitors/builtins/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
Reading configuration from /config/bigip_local.conf.
Loading the configuration ...
BIGpipe: class creation error:
01070627:3: The string class external file (/var/class/maint.index.html.class) has an invalid
format.
i had mistaken ?? - hoolio
Cirrostratus
Can you check the format of the class file? The format for the /var/class/maint.index.html.class file should be double quote base64 encoded string double quote comma:
"base64_encoded_string",
Aaron - taka_39171
Nimbostratus
hi.
i did b64 encode all html file, but b load error.
"....." ----> gdfgdgjgdjfbjb...
b64
i did b64 encode a part of html file, but b load error too.
""..."" ----> jrgtjxjxb...
b64
do you know what is missing ?
and
my i-rule is ok ? - hoolio
Cirrostratus
Can you base64 encode the HTML and then add a double quote to the beginning of the base64 encoded string and at the end. Then add a comma after the second double quote:
test
->
PGh0bWw+dGVzdDwvaHRtbD4=
->
"PGh0bWw+dGVzdDwvaHRtbD4=",
Aaron - JRahm
Admin
You could try Kirk Bauer's generator...Click here
Install the perl script on your LTM, run it, answer a few questions, and all the configuration is taken care of for you. - harry_35316
Nimbostratus
I was able to get the page and one image..The issue for me is that the background images are not getting created as classes and it is not displaying the background images in the sorry webpage..Any quick help regarding this is very much appreciated. - What_Lies_Bene1
Cirrostratus
What version did you download? - nitass
Employee
The issue for me is that the background images are not getting created as classes and it is not displaying the background images in the sorry webpagecan you attach the background image here? i just want to try. - harry_35316
Nimbostratus
Also I have been using the v2.2 of this script.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
