Configuration for a url like test.domain.com/app1?

Discussion in 'Install/Configuration' started by arvanasse, Feb 24, 2009.

  1. arvanasse

    arvanasse New Member

    I'm running LS on an internal server that we're using for testing. The number of applications has grown to the point that I'd rather have a unique url than a unique port on the same url. I'd also like to avoid stacking subdomains (e.g., subsub.sub.domain.com). Is it possible to configure urls like the following:

    test.domain.com/test_app_1
    test.domain.com/test_app_2
    test.domain.com/test_app_3
    etc

    with each test_app_x being directed to a different virtual host?
  2. arvanasse

    arvanasse New Member

    I think that I've figured this out but I'd like some feedback from more experienced LS folks to make sure I'm on the right path...

    I have now got ONE Vhost (rather than two) with TWO Rails Contexts defined. Each context has a URI for the test apps (/test_app_1, /test_app_2, ...) and the location is set for the appropriate Rails application.

    Since this is just for internal testing the traffic should be fairly low and I'm not too worried about performance. Does anyone see anything wrong with this setup? Anything to watch out for?

    Thanks!

Share This Page