Forum Discussion
lori_54451
Nimbostratus
May 01, 2007Using iruel for redirects
I just inherited a web hosting farm that is experencing issues contolling thier targeted urls within thier web application. They have been living with this issue in thier previous hosting site for 2-3...
Deb_Allen_18
May 02, 2007Historic F5 Account
You can edit the config file, in which case you'd need to just follow this format:
class myRedirects {
"hydration.company.com http://www2.co.com/hydration.html"
"nhra.com http://www.us.company.com/nhraHome.do"
"redirect.co.com http://www.company.com/"
"thecompany.com http://www.thecompany.com/"
}Once the conf file is saved, load into memory with a manual config reload ("bigpipe load" at the command line). Once the class is created, indivudual members can be updated on the fly in the GUI.If you won't need to be updating it on the fly from the GUI, you can create what's called an "external class" which uses a separate text file to store the data. To do so, create a new text file in the /config filesystem (to sync automatically) in the following format:
"hydration.company.com http://www2.co.com/hydration.html",
"home.company.com http://www.us.company.com/Home.do",
"redirect.co.com http://www.company.com/",
"thecompany.com http://www.thecompany.com/",and create a class of type "External" referencing this file. Note the trailing comma on each line, including the last. Changes to the file require a manual config reload before they take effect ("bigpipe load" at the command line).Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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