IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 17th, 2006, 01:19 AM
micro_xii micro_xii is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 27 micro_xii User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 19 m
Reputation Power: 0
Question Forcing ssl

Greetings:

im using win server 2003 IIS6, groupwise7

I have a redirect code <meta HTTP-EQUIV="REFRESH" Content="0;URL=https://mail.domain.com/gw/webacc"> ----all my client will be redirected to this secured site. My problems is when users manually type the http://mail.domain.com/gw/webacc --- they can still logon but I dont want this to happend coz its not secured. All I want is when users type the unsecured site they will be automatically redirected forcely to my secured site. How to accomplish this. Im using the default directory (c:\inetpub\wwwroot). Can anyone provide me a code.

Reply With Quote
  #2  
Old October 17th, 2006, 11:18 AM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 3,285 hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 1 Month 2 Weeks 4 Days 8 h 53 m 19 sec
Reputation Power: 1501
For forcing https, you'll need to use a redirect within your httpd file. There is a sticky in the Apache forum that you can read through for further instructions on other redirect.. here's the one that should work for what you want:
Quote:
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

Reply With Quote
  #3  
Old October 17th, 2006, 05:36 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 13th Plane (11000 - 11499 posts)
 
Join Date: Jun 2003
Posts: 11,141 Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level)Doug G User rank is Lieutenant General (80000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 17 h 15 m 54 sec
Reputation Power: 857
I don't know the answer for IIS. hiker, this is an IIS question, an answer for Apache isn't very useful
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #4  
Old October 17th, 2006, 05:45 PM
hiker's Avatar
hiker hiker is offline
They're coming to take me away
Click here for more information.
 
Join Date: Jan 2005
Location: Florida
Posts: 3,285 hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)hiker User rank is General 8th Grade (Above 100000 Reputation Level)  Folding Points: 33832 Folding Title: Starter FolderFolding Points: 33832 Folding Title: Starter Folder
Time spent in forums: 1 Month 2 Weeks 4 Days 8 h 53 m 19 sec
Reputation Power: 1501
Quote:
Originally Posted by Doug G
I don't know the answer for IIS. hiker, this is an IIS question, an answer for Apache isn't very useful


ahh.. sorry.. should've read the first line. I started off reading the meta refresh line and just assumed. Disregard my post

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Forcing ssl


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT