-
-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] desactivate automatic redirection from root of serveur #26
Comments
the problem is not the redirection. even if we deactivate redirection, you still cannot achieve what you want. you can start multiple instances with the same ip, but not with the same port. steve comes with an embedded web application server (jetty). when you start steve, we read parameters from file (ip/port) and first start jetty with these parameters. and if the port that you try to use is used by another application (read: another steve instance), jetty will fail to start, ergo, steve will fail to start. if you want, you can leave ip and context path the same, and change the the redirection itself i find useful because you do not have to type the whole path to go to the main page of steve. historical info: |
Hi, tanks for the explanation. I will make some new tries. Thanks for your You tell "if you want, you can leave ip and context path the same, and With an external config file it should be very easy to manage. Concerning historical. I confirm you, my firsts test with Steve was not Many thanks 2016-08-17 13:25 GMT+02:00 Sevket Gökay notifications@github.com:
|
yes. that's right. i meant port and not the ip. |
Feature/meterValues Approved-by: Eduardo Rodrigues de Abreu
I would like try to run several instance of the Steve running on the same server (different JAR and database).
In my vision, each JAR will be configured with a different context path with the objective to have different endpoint on the same IP/PORT.
For the moment, steve automatically redirect connection from server root to => serveur:port/context/manager. I think it should be a problem to run several instance of Steve simultaneously. I also suppose that should be easy to remove this automatic redirection.
I there a way to simply desactivate this redirection ?
The text was updated successfully, but these errors were encountered: