Changes
Jump to navigation
Jump to search
← Older edit
Https redirection
(view source)
Revision as of 04:48, 16 April 2018
252 bytes added
,
04:48, 16 April 2018
no edit summary
Line 1:
Line 1:
+
{{Note box|this is the default behaviour for SME since e-smith-ibays-2.4.0-10 has been released}}
+
== https forced redirection using custom template ==
== https forced redirection using custom template ==
Line 13:
Line 15:
====Solution:====
====Solution:====
−
Create a custom template that forces the redirection from http to https
+
Create a custom template that forces the redirection from http to https
.
This is a similar method to that used to force webmail to https
−
−
This is a similar method to that used to force webmail to https
−
====Information:====
====Information:====
Line 74:
Line 73:
}
}
}
}
−
Save the file & exit by Ctrl+x, then issue the following command
Save the file & exit by Ctrl+x, then issue the following command
Line 90:
Line 88:
* Alternatively if you want to force all http trafics to https, you can make a general rule like this.
* Alternatively if you want to force all http trafics to https, you can make a general rule like this.
−
+
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
−
60all-httptohttps
+
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
+
nano
60all-httptohttps
{
{
Unnilennium
Super Admin, Wiki & Docs Team,
Bureaucrats
,
Interface administrators
,
Administrators
3,250
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version