The config below is not possible. You can't "merge" two apps at the same 
mount_point, and you don't need "Host" if you're not trying to filter on 
the value.

    mount "/home/mojouser/apps/test1/script/test1"        => {mount_point 
=> "/"};
    mount "/home/mojouser/apps/test2/script/test2"        => {mount_point 
=> "/test2"};

The config above will "mount" all the routes inside test1 directly on the 
root (/) while test2 is available under /test2.

Currently I have no idea how to implement merging of routes from two 
applications, and I would be very cautious about implementing it even if I 
knew how. The reason is that I think it will be very confusing.


On Sunday, April 26, 2015 at 2:33:39 PM UTC+2, mjb152 wrote:
>
> 0.52 works well, thanks !
>
>
> https://metacpan.org/pod/distribution/Toadfarm/lib/Toadfarm/Manual/Intro.pod 
>   has a typo,  "in any trick you like form the Perl toolbox."
>
> currently I'm just testing with 1 IP address, no domains have been 
> transferred in yet, how can I test with 2 apps mounted and just adjusting 
> the url ?
>
> mount "/home/mojouser/apps/test1/script/test1"        => {"Host" => "
> 46.101.2.191:8080", mount_point => "/"};
> mount "/home/mojouser/apps/test2/script/test2"        => {"Host" => "
> 46.101.2.191:8080", mount_point => "/"};
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to