Sorry, it was this :
elseif {[HTTP::path] starts_with "/admin"} {
pool preprod_admin_pool
}
Before, it worked like this:
- user types http://myapp.domain.com/admin
- he's redirected to http://host.domain.com:8082/ (only member today of preprod_admin_pool)
I would like to have this:
- user types http://myapp.domain.com/admin
- he sees the content of http://host.domain:8082/ while having http://myapp.domain.com/admin/ as a URL basis
Your second example works for the first request, but if I click on a link of the app (pointing for example to http://host.domain.com:8082/directory/, the URL I have in the browser is http://myapp.domain.com/directory/ (instead of /admin/directory, so I get a "file not found")
Thanks