?
Solved

IHS https redirect on Windows 2008?

Posted on 2011-02-22
3
Medium Priority
?
830 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
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
BigRat earned 1000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

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…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

850 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