Thanks a lot Bruno!

On Mon, Mar 14, 2011 at 4:46 AM, annet <[email protected]> wrote:

> Hi Bruno,
>
> > in routes.conf you can simply do:
> >
> > blog.domain.com /blog/default
> > domain.com /init/default
>
> In an application I have a controller which contains a couple of
> functions related to a business card like view. These functions use a
> company_id which I pass in the url to retrieve data from a database.
> Reading your post I wonder whether your solution would work in my case
> too.
>
>
> In routes.conf:
>
> www.domain1.com /init/card/index/6
> www.domain2.com /init/card/index/28
> etc.
>
> At webfaction they advised me to create a Static/CGI/PHP app. and use
> the iFrame HTML tag in index.html to include the contents of /init/
> card/index/6, but your solution seems easier to maintain.
>
>
> Kind regards,
>
> Annet.




-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Reply via email to