HTTP virtual domains support

Asked by Daniel CHAN

Hi,

Nice initiative with the Play! framework. Do you guys plan to add support for HTTP virtual domains since public free IP addresses are not that commun nowadays ;) ?

Cheers

Question information

Language:
English Edit question
Status:
Solved
For:
play framework Edit question
Assignee:
No assignee Edit question
Solved by:
Guillaume Bort
Solved:
Last query:
Last reply:
Revision history for this message
Best Guillaume Bort (guillaume-bort) said :
#1

Well, from now you can do virtual hosting using a frontal HTTP server like httpd. See http://www.playframework.org/manual/contents/production

Revision history for this message
Daniel CHAN (pitimaou) said :
#2

Thanks Guillaume Bort, that solved my question.

Revision history for this message
Lyubomir Ivanov (lyubo.ivanov) said :
#3

I've developed a play! plug-in and a container object which implement some virtual host functionality. If it is still of interest I can write a simple play application which uses this code and publish it.

Revision history for this message
Guillaume Bort (guillaume-bort) said :
#4

Sure,

What the plugin exactly provides ?

On Tue, Mar 10, 2009 at 7:40 PM, Lyubo
<email address hidden> wrote:
> Question #44284 on play framework changed:
> https://answers.launchpad.net/play/+question/44284
>
> Lyubo posted a new comment:
> I've developed a play! plug-in and a container object which implement
> some virtual host functionality. If it is still of interest I can write
> a simple play application which uses this code and publish it.
>
> --
> You received this question notification because you are a member of play
> framework developers, which is an answer contact for play framework.
>

Revision history for this message
Lyubomir Ivanov (lyubo.ivanov) said :
#5

1. configuration of virtual hosts via text files
2. dynamic reloading of virtual host configuration changes
4. separate data source for each virtual host
3. static interface method findHost() which is accessible in any controller gives access to virtual host properties
5. helper method for caching of objects

Revision history for this message
Lyubomir Ivanov (lyubo.ivanov) said :
#6

I have written a sample application. Is it ok to send it to <email address hidden>?

Revision history for this message
Guillaume Bort (guillaume-bort) said :
#7

Sure

but it's guillaume, not juillaume ...

On Thu, Mar 12, 2009 at 12:11 PM, Lyubo
<email address hidden> wrote:
> Question #44284 on play framework changed:
> https://answers.launchpad.net/play/+question/44284
>
> Lyubo posted a new comment:
> I have written a sample application. Is it ok to send it to
> <email address hidden>?
>
> --
> You received this question notification because you are a member of play
> framework developers, which is an answer contact for play framework.
>