craig_lee10_177
Jan 18, 2013Nimbostratus
irule 404 page
Hi
I am wondering if someone can point me in the right direction. Basically the below works fine when I try and go to a directory that doesn’t exists
when HTTP_RESPONSE {
if { [HTTP::status] == 404 } {
HTTP::respond 200 content [ifile get "index"]
}
}
The issue I have is that the file index is an html file which references images etc which don’t get displayed the when the page is severed. I have tried using ifles to resolve this but I think my syntax is wrong; could someone give me a suggestion on what I need to do?
Thanks
Craig