-
1. Re: Disabling /console redirect to management port
jaikiran Sep 30, 2014 1:57 AM (in response to graham.johnson)Hi Graham,
I don't fully understand the question. Do you mean that you have disabled the default welcome-content application that gets deployed at root ( / ) context and instead deployed your own web application to that context and then your application has resource URLs with the /console path prefix and WildFly redirects those URLs to 9990 port? If you have disabled the welcome-content application, then I wouldn't expect the redirect to be done. In other words, I would expect the redirect to be disabled too. Isn't that happening?
-
2. Re: Disabling /console redirect to management port
jaikiran Sep 30, 2014 1:58 AM (in response to jaikiran)Just to add to that reply, to disable the welcome-content application, all you have to do is:
To disable it, remove "welcome-content" handler for location / in undertow subsystem
-
3. Re: Disabling /console redirect to management port
ctomc Sep 30, 2014 6:07 AM (in response to graham.johnson)1 of 1 people found this helpfulThat looks like an oversight on our side.
Can you create jira for this WildFly - JBoss Issue Tracker
-
4. Re: Disabling /console redirect to management port
graham.johnson Sep 30, 2014 12:57 PM (in response to jaikiran)To disable it, remove "welcome-content" handler for location / in undertow subsystem
Thank you for the response. I was not aware of and had not disabled the welcome content <location>, but removing that had no effect on the console redirect. I suspect since my webapp's context root is /, it fully overrides the welcome content handler (and I would expect/hope, if that were not the case, that it would warn if two things are set up to handle /).
-
5. Re: Disabling /console redirect to management port
graham.johnson Sep 30, 2014 3:01 PM (in response to ctomc)Thank you for confirming there is not an existing mechanism to disable the redirect.
JIRA issue created: [WFLY-3918] Cannot disable ConsoleRedirectService - JBoss Issue Tracker
-
6. Re: Disabling /console redirect to management port
sejanick May 11, 2015 6:58 PM (in response to graham.johnson)Hi, is this fix something that is still in development?