Forum Discussion
Maintenance page using iFiles
- May 06, 2016
Hello,
this irule serve api_asia_html content when the user reach / only. It will fail if you try to reach another uri or the same uri with query parameters. Also, can you check that you bind an HTTP profile, Client SSL profile (if https) to your Virtual Server and that the VS is reachable from the location of your testing ?
You can also check the ltm logs to identify potentials issues or tcl errors.
Hello,
this irule serve api_asia_html content when the user reach / only. It will fail if you try to reach another uri or the same uri with query parameters. Also, can you check that you bind an HTTP profile, Client SSL profile (if https) to your Virtual Server and that the VS is reachable from the location of your testing ?
You can also check the ltm logs to identify potentials issues or tcl errors.
- MSK_222682May 06, 2016NimbostratusHi Yann, You were right, issue was this HTTP profile and Client SSL profile. I have uploaded cert now and applied HTTP profile and now its working good. However, this is working only for IE, but when tried from Chrome & Mozilla its not give me the page but the HTML embedded code. I feel I'm almost there as it works smooth in IE but not the other two. Do you have any idea on this. Thansk, MSK
- Yann_DesmarestMay 06, 2016CirrusHi, your irule is not complete. Try to change the http::respond command by following : HTTP::respond 200 content [ifile get api_asia_html] noserver "Content-Type" "text/html" "Cache-Control" "no-cache, must-revalidate"
- MSK_222682May 08, 2016NimbostratusHi Yann, This works very smooth now. I have modified it and it works awesome. Thanks a ton. My URL is something like https://test.abc.com/Portal/. The maintenance page can be see when we access https://test.abc.com/Portal but when we add "/" after "Portal" it doesn't show anything, connection timeout. May I please know what exactly I'm missing because I already have this below condition : if { [HTTP::uri] eq "/" } { HTTP::respond 200 content [ifile get api_asia_html] which I believe would be triggered when uri is "/". Can you please correct my iRule ?? Br, MSK
- MSK_222682May 08, 2016NimbostratusHi Yann, It works now, I just replaced "/Portal' with "/Portal/". Thansk a lot again, learnt something new! Cheers, MSK
Recent Discussions
Related Content
* 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