Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Https redirection
(view source)
Revision as of 10:23, 8 September 2013
319 bytes added
,
10:23, 8 September 2013
→Modified code to use a db setting
Line 93:
Line 93:
This modifies the original code slightly & needs only one 60redir-ibay custom fragment
This modifies the original code slightly & needs only one 60redir-ibay custom fragment
+
+
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
+
+
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts
+
+
nano 60redir-ibay
+
+
Then paste this
{
{
Line 119:
Line 127:
}
}
−
Follow the procedure from the earlier part of this Howto & then issue this db command
−
db accounts setprop ibayname HTTPSredir on
+
Save the file & exit by Ctrl+x
+
+
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
+
sv t /service/httpd-e-smith/
+
+
then issue this db command, you have to change '''ibayname''' by the name of your ibay
+
db accounts setprop
'''
ibayname
'''
HTTPSredir on
==Alternative methods ==
==Alternative methods ==
Stephdl
Administrators
5,576
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