url redirection problem apache tomcat httpd.conf

Posted on 2012-08-11
Last Modified: 2012-09-13
I have a working url "" which works fine.Entering "" also works fine and redirects to ""
The DNS entries exist on the server/load balancer to redirect correctly to

The problem is when I enter "https://xyz"  or "http://xyz" I want it to direct to ""

How can I do that using apache tomcat?

I have already tried using redirectengine ON

Question by:bhopali85
    1 Comment
    LVL 13

    Accepted Solution

    You need to mention the redirect rules inside the virtual host entries of the corresponding domain in httpd.conf file.


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now