Solved

IHS https redirect on Windows 2008?

Posted on 2011-02-22
3
819 Views
Last Modified: 2012-06-27
Hello.  I have implemented a suggestion I saw with regards to redirecting http to https traffic on my IHS/Windows/Websphere7 server.  

In the httpd.conf file, I added:
RewriteEngine on
RewriteCond %{SERVER_PORT} =80
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}

and it redirected my hosts from using the dmz ip's to use secure pages.  However, this code does not seem to work when the Coyote ip-sprayer (my understanding of the appliance in front) is in the mix.   I get timeout errors, when using the external address.

Any feedback on the syntax? do I have it correct, or should I have the network tech look further at the Coyote appliance?  Thanks in advance for your help!

sharon
0
Comment
Question by:bongios
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
BigRat earned 250 total points
ID: 34959427
The syntax is correct.

I suspect that the problem lies in the resolution of the name to an I/P address. Apache seems to put in it's redirects as "Location" the fixed I/P address rather than the acutal name, so instead of seeing "Location: www.mycorp.com" one sees "Location: 215.123.123.42". If then somebody rotates names to I/P addresses there is then a problem.

I'd take your server name and it's I/P address and do DNS lookups both internet and intranet wise, just to be certain that the anmes and addresses belong to each other.

I have no idea what a "coyote ip sprayer" is (although I can guess) so being a little more specific about it might help?
0
 

Author Comment

by:bongios
ID: 34961810
Thanks for your feedback.  After implementing a RedirectMatch directive (which worked on DMZ, but again, not with Coyote) I realized it was the network device doing something.

At this point, the network tech is taking on the task of providing urlrewrite and redirection, so I don't need to do anything further. I think.

Thanks for confirming the syntax!
sharon
0
 

Author Closing Comment

by:bongios
ID: 34961867
coyote seemed to be the issue.  BigRat confirmed my syntax was correct, which was helpful.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 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