Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: markehle on April 27, 2006, 02:57:11 AM
-
Hello, Folks -
I am in the middle of setting up a work exerience website for a school. It will include some student data that must be kept secure.
I can set up the ibay for a password, but I would also like to force it to use https, like webmail. I did a search on this website for https, secure, force, etc., and came up with nothing useable.
How can I do this?
Thanks!
Mark
-
Hello
copy
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays
to /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/90e-smithAccess40ibays
after
$OUT .= "\n";
$OUT .= "#------------------------------------------------------------\n";
$OUT .= "# $key ibay directories ($properties{'Name'})\n";
$OUT .= "#------------------------------------------------------------\n";
$OUT .= "\n";
$OUT .= "<Directory /home/e-smith/files/ibays/$key/html>\n";
add
## add by unnilennium
if($properties{'SSLRequireSSL'})
{
if($properties{'SSLRequireSSL'} eq 'on')
{
$OUT.=" SSLRequireSSL\n";
}
}
## / add by unnilennium
after for each ibays 'ibay' you needs this on command line simply do:
# /sbin/e-smith/db accounts setprop ibay SSLRequireSSL on
then
# /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
# service httpd-e-smith restart
Unnilennium
-
Works great! Thanks! :-D
-
Please explain a little more you want each student to be able to load there info on the ibay so every one can see but only that person can load-up his or her info in that part for the ibay?
-
markehle
I did a search on this website for https, secure, force, etc., and came up with nothing useable.
A look at the Howtos would have found this
http://wiki.contribs.org/Https_redirection
but you have an answer already.