Setting a Domain to the Environment or some Profile

You must use the Noosfero Console to follow this steps.

Any Profile (person, community, enterprise) or Environment can have its won domain, or a collection of domains. The entity domains are registered inside its domains list attribute. See this examples:

Setting the Default Environment domain

>> d = :name => "", :is_default => true )
>> << d

Setting the Richard Stalman's profiles domain

>> # Setting the Richard Stalman's profiles domain:
>> p = Person['rms']
>> << :name => "", :is_default => true )

Setting the Foo's community domain

>> # Setting the Foo's community domain:
>> p = Community['foo']
>> << :name => "", :is_default => true )

Well, you may know that personal domain feature is only useful if your server response for the user domain, otherwise you are sending the visitors away on any link for this user.

Setting Apache

To answer like

<VirtualHost *:8080>
  Redirect /

<VirtualHost *:8080>

  RewriteEngine On
  RewriteCond %{HTTP_HOST}
  RewriteRule ^/foo/(.*)$ http://foo/$1 [R,L]

Add comment
You need to login to be able to comment.
Topic revision: r5 - 14 Apr 2017, PauloSantana

irc Talk with Devs Now!

%IF{"$'WIKINAME'!='WikiGuest'" then="

♥ I Care

%DBQUERY{"(topic='^ActionItem[0-9]+') AND whocares=~'WikiGuest' AND Status!='Done' AND Status!='Rejected'" format=" $formfield(Title)" separator="$n---$n" }%
Filter ♥ AIs

Translations: English
Search on Docs:
ActionItem Search:

Copyright © 2007-2018 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres