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
- nitass
Employee
i used background code and base64 encoding from below webpages.
HTML Background Image Code (No-Repeat example)
http://www.quackit.com/html/codes/html_background_image_codes.cfm
Base 64 Encoder
http://www.opinionatedgeek.com/dotnet/tools/base64encode/[root@ve10:Active] config b virtual bar list virtual bar { destination 172.28.19.79:80 ip protocol 6 rules myrule profiles { http {} tcp {} } } [root@ve10:Active] config b rule myrule list rule myrule { when HTTP_REQUEST { if { [class match -- [HTTP::uri] equals maint_ext_class] } { switch -glob [HTTP::uri] { "/" - "*.html" { HTTP::respond 200 content [class match -value [HTTP::uri] equals maint_ext_class] noserver Content-Type "text/html" } "/*.gif" { HTTP::respond 200 content [b64decode [class match -value [HTTP::uri] equals maint_ext_class]] noserver Content-Type "image/gif" } } } } } [root@ve10:Active] config b class maint_ext_class list class maint_ext_class { type string filename "/var/class/maint.class" separator ":=" } - nitass
Employee
i was unable to post the external class content. it got blocked by ASM. anyway, it is something like this.[root@ve10:Active] config cat /var/class/maint.class "/" := "...HTML code...", "/index.html" := "...HTML code...", "/pix/web_graphics/free_website_graphics/background_patterns/00akiw5.gif" := "...base64 encoding...",
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
