Koozali.org: home of the SME Server

Support of OpenID url on an ibay/domain

Offline beast

  • *
  • 245
  • +0/-0
Support of OpenID url on an ibay/domain
« on: May 27, 2011, 08:55:35 AM »
Like to make an installation of OpenID as provider on SME server.

When a client access the server it is in the form id.domain.xx. (id is the selected OpenID username). so from the server perspective id is random

This may be possible for the primary domain but for an ibay domain it redirect to the primary domain.

Is it possible some how to let it stay at the ibay domain when there is a random value in front of the ibay domain.

E.g. randomstring.pcrypt.org

Shall then detect the randomstring part in PHP

Expect a template can be modified or some changes to the configuration DB. As far as I understand some changes to .htaccess is needed?

Thank you for any help.

Benny
« Last Edit: May 28, 2011, 11:48:59 AM by beast »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Support of OpenID url on an ibay/domain
« Reply #1 on: May 29, 2011, 08:35:04 PM »
beast

I would think the first requirement would be that you need to modify external zone & DNS records to add a global "catch all" so that id.domain.xx will resolve correctly to your server (for whatever name "id" is). Not sure of what other changes may be needed to SME server.
« Last Edit: May 29, 2011, 08:36:59 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline beast

  • *
  • 245
  • +0/-0
Re: Support of OpenID url on an ibay/domain
« Reply #2 on: May 29, 2011, 09:13:49 PM »
I would think the first requirement would be that you need to modify external zone & DNS records to add a global "catch all" so that id.domain.xx will resolve correctly to your server (for whatever name "id" is). Not sure of what other changes may be needed to SME server.

This is in place as far as I can see (DNS records allow wildcards and pass it on). But the browser shows the primary domain as content and the url is the correct one (with wilcard) in the url line of the browser. I need it to show the ibay content.
« Last Edit: May 29, 2011, 09:15:57 PM by beast »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Support of OpenID url on an ibay/domain
« Reply #3 on: May 30, 2011, 02:28:40 AM »
beast

In the  server manager Domains panel, you point the domain name to content in the required ibay, did you do that ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline beast

  • *
  • 245
  • +0/-0
Re: Support of OpenID url on an ibay/domain
« Reply #4 on: May 30, 2011, 08:37:09 AM »
In the  server manager Domains panel, you point the domain name to content in the required ibay, did you do that ?

Yes, otherwise it would not show the ibay content without the random string in front of the domain - works fine with just the domain (pcrypt.org) and www in front. Anytime I replace the www with something random it shows me to the primary ibay.

Offline beast

  • *
  • 245
  • +0/-0
Re: Support of OpenID url on an ibay/domain
« Reply #5 on: June 09, 2011, 07:48:59 AM »
Nobody have any hint?