Forum Discussion
pgsmith_120398
Altostratus
Apr 24, 2013Sorry Server iRule with iFiles
Hello,
I have been searching the forums, wiki, and web for more information about setting up an iRule that will utilize iFiles to deliver a sorry page using the HTTP::content command. I h...
Kevin_Stewart
Employee
Apr 24, 2013If you're using something like the iRule example I listed above, the only other recommendation I'd make is that you use "full path" URLs in your HTML page. Add a logging statement to the beginning of your HTTP_REQUEST event to see what I mean:
log local0. [HTTP::uri]
You'll notice that ALL URIs start at the root "/" path. The BIG-IP wouldn't see or understand "relative" references. So for example, a link to "CSS/UFSTYLE.css" in the HTML file would be "/CSS/UFSTYLE.css" to the HTTP::uri command (notice the starting slash). You're better off then being more explicit in your HTML file so that there's no confusion.
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