Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
web.config direct to https
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MasterJiq" data-source="post: 401751" data-attributes="member: 69646"><p>Doing it correctly:</p><p>[CODE]<?xml version="1.0" encoding="UTF-8"?></p><p><configuration></p><p> <system.webServer></p><p> <rewrite></p><p> <rules></p><p> <clear /></p><p> <rule name="Redirect to https" stopProcessing="true"></p><p> <match url=".*" /></p><p> <conditions></p><p> <add input="{HTTPS}" pattern="off" ignoreCase="true" /></p><p> </conditions></p><p> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" /></p><p> </rule></p><p> <rule name="Imported Rule 1"></p><p> <match url="^([^.]*)$" ignoreCase="false" /></p><p> <action type="Rewrite" url="index.php" /></p><p> <conditions></p><p> <add input="{QUERY_STRING}" pattern="/swfs/*" negate="true" /></p><p> </conditions></p><p> </rule></p><p> <rule name="RequestBlockingRule1" patternSyntax="Wildcard" stopProcessing="true"></p><p> <match url="*" /></p><p> <conditions></p><p> <add input="{URL}" pattern="/NewPrevs/_config/*" /></p><p> </conditions></p><p> <action type="CustomResponse" statusCode="404" statusReason="File or directory not found." statusDescription="The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable." /></p><p> </rule></p><p> <rule name="Imported Rule 1-1"></p><p> <match url="^badge-imaging/badge/([^/]+)" ignoreCase="false" /></p><p> <action type="Rewrite" url="/badge-imaging/badge.php?badge={R:1}" appendQueryString="false" /></p><p> </rule> </p><p> </rules></p><p> </rewrite></p><p> <httpErrors></p><p> <remove statusCode="404" subStatusCode="-1" /></p><p> <remove statusCode="403" subStatusCode="-1" /></p><p> <error statusCode="403" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" /></p><p> <error statusCode="404" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" /></p><p> </httpErrors></p><p> </system.webServer></p><p></configuration></p><p>[/CODE]</p><p>[doublepost=1488204654,1488202484][/doublepost][USER=71840]@Sentinel[/USER]</p></blockquote><p></p>
[QUOTE="MasterJiq, post: 401751, member: 69646"] Doing it correctly: [CODE]<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <clear /> <rule name="Redirect to https" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{HTTPS}" pattern="off" ignoreCase="true" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" /> </rule> <rule name="Imported Rule 1"> <match url="^([^.]*)$" ignoreCase="false" /> <action type="Rewrite" url="index.php" /> <conditions> <add input="{QUERY_STRING}" pattern="/swfs/*" negate="true" /> </conditions> </rule> <rule name="RequestBlockingRule1" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{URL}" pattern="/NewPrevs/_config/*" /> </conditions> <action type="CustomResponse" statusCode="404" statusReason="File or directory not found." statusDescription="The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable." /> </rule> <rule name="Imported Rule 1-1"> <match url="^badge-imaging/badge/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="/badge-imaging/badge.php?badge={R:1}" appendQueryString="false" /> </rule> </rules> </rewrite> <httpErrors> <remove statusCode="404" subStatusCode="-1" /> <remove statusCode="403" subStatusCode="-1" /> <error statusCode="403" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" /> <error statusCode="404" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration> [/CODE] [doublepost=1488204654,1488202484][/doublepost][USER=71840]@Sentinel[/USER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
web.config direct to https
Top