Build Forge HTML Redirect
Accepted answer
You should be able to use the HTML meta tab to perform the redirection.
An example can be found under the following.
Redirect website after certain amount of time
https://stackoverflow.com/questions/3292038/redirect-website-after-certain-amount-of-time
Comments
Thanks Josh for responding, but what I need to know is the fully qualified pathname to the BF Tomcat file that needs to be updated with the redirect?
When one of my customers logs into my BFMC, the use this URL:
https://auscbforge.tivlab.raleigh.ibm.com/
which defaults to port 443, but immediately changes to port 8443.
I am looking for the exact path from BF_HOME, which in my case is /opt/buildforge/server/tomcat. Looking under that directory I see:
drwxr-xr-x 2 root root 4.0K Sep 20 2016 bin/What is the name of the file that needs to contain the redirect HTML?
drwxr-xr-x 2 root root 4.0K Sep 20 2016 lib/
drwxr-xr-x 3 root root 4.0K Sep 20 2016 conf/
drwxr-xr-x 3 root root 4.0K Sep 20 2016 work/
drwxr-xr-x 4 root root 4.0K Sep 24 2016 webapps/
drwxr-xr-x 2 root root 4.0K Jul 24 11:45 temp/
drwxr-xr-x 2 root root 32K Aug 7 00:32 logs/
--Randy
Hello Randy,
Generally, it is not recommended to have the Build Forge login page to be directly bookmarked.
The Build Forge site address (http://MyBFServer/fullcontrol) should be bookmarked so that users will be redirected according to the Build Forge config.
The redirection mechanism is controlled under Build Forge config file (buildforge.conf).
The web server(Apache) will take the redirection from the main buildforge.conf file ($BF_HOME/buildforge.conf) services_url entry.
While the services layer (Tomcat/WAS) will take it from the buildforge.conf file buried under the WAR files.
The way Apache is configured (httpd.conf) by default under Build Forge, it should be looking for either an index.html or index.php file.
Where Build Forge supplies an index.php file to start the user's connection ($BF_HOME/webroot/public/index.php).
You should be able to generate an index.html file with the HTML meta tag or update the index.php to redirect the user's to the new site.
The php file would simply need a "header" function to redirect the user.
http://us3.php.net/manual/en/function.header.php
Thanks Josh, just what I needed.