Yes you can route to different backends using various triggers. For instance, different domain names or different paths. If I understand what you are asking, you can set up a ACL for the /registration/ path and then a default backend to send everything else to your apache configuration. It might look something like this:
# Anything that comes in here to the path /registration route to registration app
acl registration_access url_beg /registration
use_backend registration_app if registration_access
# Setup default routing
default_backend apache_server
# Then your backends might look something like this
# Use whatever are the correct ports for your apache server and your Xojo app instances
backend registration_app
server node1 127.0.0.1:8881
server node1 127.0.0.1:8882
server node1 127.0.0.1:8883
backend apache_server
server nodeApache 127.0.0.1:9000
That should do what I believe you are looking for. Anything to a URL beginning with “/registration” will go to your apps.
You can also route based on domains like this:
# Route based on domain name
# Define hosts
acl host_seminar hdr(host) -i seminar.pro
acl host_otherdomain hdr(host) -i otherdomain.com
# figure out which one to use
use_backend seminar if host_seminar
use_backend otherdomain if host_otherdomain