Sorry 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 have found several examples of using iFiles within iRules that have all worked to some extent, however im only able to ever get the HTML file and a single image file to display. Is it possible to display a fully formatted html page with css and multiple images?
Lets say i have an HTML file that links to an external css file /css/style.css. Also in the HTML file there are several links to images such as /images/image1.gif, /images/background.jpg, etc. Is there a way through iRules (and if possible with the use of iFiles) to have the HTML, CSS, and images all display correctly as if it were hosted from a web server? I am able to embed the CSS code in the HTML file and it the css will apply properly, however I would like to use an external css file if possible.