URL rewrite
I need to make an iRule that can rewrite a URL if needed. Actually I just need to add a path between a URL and a filename.
website.com/[randomfilename]
to
website.com/processor/makesstuff/here/[randomfilename]
People will have the random file name, but I don't want them to have to write out the whole path. It would be great if it didn't rewrite the the path into the browser as well.
Does anyone have an example of something that does this or point me in the right direction. I have seen URL rewrites, but I have to hold onto that incoming file name.
I am new to iRules and a bit lost. I do well reverse engineering stuff like this. But don't know enough about iRule syntax to write one that can do this yet.
Thanks in advance for any help.
-Jerred