Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: icedizzy on December 11, 2010, 07:18:14 AM

Title: Disabling or not creating port 80 access to an ibay only https port 443
Post by: icedizzy on December 11, 2010, 07:18:14 AM
I am lost.
I have an ibay that i like only https access to ( port 443 as you all well know ).
No problem i remarkes ( # ) the port 80 section of the ibay in httpd.conf and restarts the apache.
Everything are just great.
.... a while.....
Than the httpd.conf rewrites and i know how and why it is done.
But i cannot find a proper way changing a template or db to make this happend just for a specific ibay?

Any suggestions?

Title: Re: Disabling or not creating port 80 access to an ibay only https port 443
Post by: janet on December 11, 2010, 10:12:03 PM
icedizzy

Quote
I have an ibay that i like only https access to ( port 443 as you all well know ).
But i cannot find a proper way changing a template or db to make this happend just for a specific ibay?

See the Templates Tutorial in the How To section. Also read the apprpriate section dealing with templating in the Developers Guide all linked at top of forum.

You need to make a custom template for the conf file.

An alternative approach is to create an alias which forces access to port 443, similar to how it is done for webmail. Review the code in SME server.
Title: Re: Disabling or not creating port 80 access to an ibay only https port 443
Post by: icedizzy on December 11, 2010, 11:14:30 PM
Thanks Mary, the solution are often easier than at first thought.
Ofcourse I will go for the alias.
My mind slipped.

Thanks again.

/Ice