Koozali.org: home of the SME Server

Force https access on ibay

Offline markehle

  • ***
  • 125
  • +0/-0
Force https access on ibay
« 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

Offline Jean-Philippe Pialasse

  • *
  • 2,765
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Force https access on ibay
« Reply #1 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

Offline markehle

  • ***
  • 125
  • +0/-0
Force https access on ibay
« Reply #2 on: April 27, 2006, 05:51:00 PM »
Works great! Thanks! :-D

Offline cvlcc

  • ***
  • 102
  • +0/-0
    • http://Cvlcc.com
Re: Force https access on ibay
« Reply #3 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?
My we all be so humbled, To ask the questions and get straight answers. Sooner than later. Thank You For Your Time

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Force https access on ibay
« Reply #4 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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.