Click here to Skip to main content
15,867,308 members
Home / Discussions / Hosting and Servers
   

Hosting and Servers

 
QuestionRemote Desktop To HyperV VM Externally Pin
Nilesh bhope13-Nov-13 19:22
Nilesh bhope13-Nov-13 19:22 
AnswerRe: Remote Desktop To HyperV VM Externally Pin
Bernhard Hiller13-Nov-13 21:11
Bernhard Hiller13-Nov-13 21:11 
GeneralRe: Remote Desktop To HyperV VM Externally Pin
Nilesh bhope13-Nov-13 21:47
Nilesh bhope13-Nov-13 21:47 
QuestionHow to upload sql database on ftp server Pin
vipulparmar9028-Oct-13 1:13
vipulparmar9028-Oct-13 1:13 
AnswerRe: How to upload sql database on ftp server Pin
thatraja28-Oct-13 1:34
professionalthatraja28-Oct-13 1:34 
QuestionWeb hosting Pin
AndyInUK23-Oct-13 23:51
AndyInUK23-Oct-13 23:51 
QuestionHTTPS URL rewriting Pin
Wombaticus21-Oct-13 7:13
Wombaticus21-Oct-13 7:13 
AnswerRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 7:38
mveRichard Deeming21-Oct-13 7:38 
Try something like this:
XML
<rewrite>
    <rules>
        <rule name="force_www_https" enabled="true" stopProcessing="true">
            <match url=".*" />
 
            <conditions>
                <add input="{HTTPS}" pattern="on" />
                <add input="{HTTP_HOST}" pattern="^www.mydomain.com$" negate="true" />
            </conditions>
 
            <action 
                type="Redirect" 
                redirectType="Permanent" 
                url="https://www.mydomain.com{REQUEST_URI}" 
                appendQueryString="false" 
            />
        </rule>
        
        <rule name="force_www_http" enabled="true" stopProcessing="true">
            <match url=".*" />
            
            <conditions>
                <add input="{HTTPS}" pattern="off" />
                <add input="{HTTP_HOST}" pattern="^www.mydomain.com$" negate="true" />
            </conditions>
 
            <action 
                type="Redirect" 
                redirectType="Permanent" 
                url="http://www.mydomain.com{REQUEST_URI}" 
                appendQueryString="false" 
            />
        </rule>
    </rules>
</rewrite>




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer



modified 21-Oct-13 14:06pm.

GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 7:50
Wombaticus21-Oct-13 7:50 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 8:07
mveRichard Deeming21-Oct-13 8:07 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:15
Wombaticus21-Oct-13 8:15 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 8:30
mveRichard Deeming21-Oct-13 8:30 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:35
Wombaticus21-Oct-13 8:35 
GeneralRe: HTTPS URL rewriting Pin
Richard Deeming21-Oct-13 8:43
mveRichard Deeming21-Oct-13 8:43 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:57
Wombaticus21-Oct-13 8:57 
GeneralRe: HTTPS URL rewriting Pin
Wombaticus21-Oct-13 8:31
Wombaticus21-Oct-13 8:31 
QuestionSuperuser on Domain Controller Pin
[DK]KiloDunse21-Sep-13 4:18
[DK]KiloDunse21-Sep-13 4:18 
AnswerRe: Superuser on Domain Controller Pin
[DK]KiloDunse23-Sep-13 7:52
[DK]KiloDunse23-Sep-13 7:52 
QuestionHelp with web hosting Pin
Otekpo Emmanuel16-Sep-13 14:01
Otekpo Emmanuel16-Sep-13 14:01 
AnswerRe: Help with web hosting Pin
Richard MacCutchan16-Sep-13 21:16
mveRichard MacCutchan16-Sep-13 21:16 
QuestionSoftware update hosting service Pin
Andrey Moskvichev10-Sep-13 2:27
professionalAndrey Moskvichev10-Sep-13 2:27 
AnswerRe: Software update hosting service Pin
RedDk19-Sep-13 7:35
RedDk19-Sep-13 7:35 
GeneralRe: Software update hosting service Pin
Andrey Moskvichev28-Sep-13 6:01
professionalAndrey Moskvichev28-Sep-13 6:01 
GeneralRe: Software update hosting service Pin
RedDk28-Sep-13 9:08
RedDk28-Sep-13 9:08 
GeneralRe: Software update hosting service Pin
Andrey Moskvichev28-Sep-13 9:21
professionalAndrey Moskvichev28-Sep-13 9:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.