Koozali.org: home of the SME Server

Disabling or not creating port 80 access to an ibay only https port 443

Offline icedizzy

  • *
  • 13
  • +0/-0
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?


Offline janet

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

Offline icedizzy

  • *
  • 13
  • +0/-0
Re: Disabling or not creating port 80 access to an ibay only https port 443
« Reply #2 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