https to http
3 posts
• Page 1 of 1
https to http
How do I redirect a entire website from:
https://www.mydomainname.com to http://www.mydomainname.com
Thanks.
https://www.mydomainname.com to http://www.mydomainname.com
Thanks.
Re: https to http
Hello.
Sorry for the delay.
There is an example on this in documentation:
Sorry for the delay.
There is an example on this in documentation:
- Code: Select all
RewriteEngine on
#Fix missing trailing slash char on folders
RewriteRule ^([^.?]+[^.?/])$ $1/ [R,L]
#Redirect HTTPS to non-HTTPS
RewriteCond %{HTTP:Host} (.*)
RewriteCond %{HTTPS} on [NC]
RewriteCond %{REQUEST_URI} (.*)
RewriteRule .? http://%1%2 [R,QSA]
- jamesgherrera
- Posts: 2
- Joined: 29 Aug 2016, 07:13
Re: https to http
That's where SecureWebPageModule comes in. SecureWebPageModule is a class that implements the IHttpModule interface. HTTP modules give programmers a means of "attaching" to a Web application to process its events. It's like descending from the System.Web.HttpApplication class and overriding the application and session events in a Global.asax file. The main difference is you don't have to worry about copying and pasting the same code into the file for every application that is to use it. HTTP modules are simply "linked in" to a Web application and become part of the pipeline.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests