larry_b__01_137
Jul 11, 2014Nimbostratus
maintenance page withirule and ifiles
Hi, trying to drum up a sorry page for PeopleSoft 9.2 App with little success reading in the image file: The psfs-index.html file reads but no image. Here is the irule:
when HTTP_REQUEST{ if {[active_members [LB::server pool]] < 1} { switch [HTTP::uri] { "/psp/ps/?cmd=login" { HTTP::respond 200 content [ifile get "psfs-index.html"] } "/FSPRD92_ProgramSiteDown_v3_sprites.png" { HTTP::respond 200 content [ifile get "FSPRD92_ProgramSiteDown_v3_sprites.png"] } } } }
When switch [HTTP::uri] { "/psp/ps/?cmd=login" ... is set to only "/" it seems to work. However, it's the login page that clients land on that I need to serve up the maintenance page on.