Forum Discussion

shansylvia_3070's avatar
shansylvia_3070
Icon for Nimbostratus rankNimbostratus
Jan 20, 2017

iRule subdirectory to hostname with URI

I am using subdirectories,

 

I would like to go from:

 

subdirectory "/catpics" to redirect to "; which is easy, but I want anything following /catpics to go as well.

 

ex: http(s)://myhost.com/catpics/baddog to go to ";

 

or http(s)://myhost.com/catpics/baddog/puppies to go to ";

 

I do not want it to go to "; - that would be easy

 

How do I eliminate the "catpics" from [HTTP::uri]

 

Thanks!