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

Title: Force https access on ibay
Post 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
Title: Force https access on ibay
Post by: Jean-Philippe Pialasse on April 27, 2006, 04:46:56 PM
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
Code: [Select]
       $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
Code: [Select]
 
    ## 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
Title: Force https access on ibay
Post by: markehle on April 27, 2006, 05:51:00 PM
Works great! Thanks! :-D
Title: Re: Force https access on ibay
Post by: cvlcc on February 20, 2010, 03:08:59 AM
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?
Title: Re: Force https access on ibay
Post by: janet on February 20, 2010, 06:20:35 AM
markehle

Quote
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.