28
Mar/09
0

Tomcat: Redirect default home page to another URL

To create a redirect from default page in Tomcat edit CATALINA_HOME/webapps/ROOT/index.html:

nano /CATALINA_HOME/webapps/ROOT/index.html

Where CATALINA_HOME is your tomcat directory. Delete the content and replace with the following:

<html>

<head>
<meta http-equiv="refresh" content="0;URL=<url>">
</head>

<body>
</body>

</html>

and replace <url> with new destination.

Share this article
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Twitter
  • LinkedIn

Related posts:

  1. Linux: Run tomcat with apache – mod_jk configuration
  2. Linux: Apache Tomcat tips and tricks
  3. Linux: vsftpd and symbolic links
  4. Dell: DRAC default logon – user/pass

Tagged as:
Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.