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...
nitass
Employee
Dec 04, 2012i 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 ":="
}
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
