[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


url redirection problem apache tomcat httpd.conf

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

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

How can I do that using apache tomcat?

I have already tried using redirectengine ON

Question by:bhopali85
1 Comment
LVL 13

Accepted Solution

LinuxGuru earned 2000 total points
ID: 38285107
You need to mention the redirect rules inside the virtual host entries of the corresponding domain in httpd.conf file.


Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month20 days, 2 hours left to enroll

873 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