-
1. Re: URL configurations
peterj Jun 12, 2010 5:39 PM (in response to itsamemario)To use port 80, see this: http://community.jboss.org/wiki/JBossOnPort80
To change the contrext, see this: http://community.jboss.org/message/277786#277786, with one minor change - the ROOT.war is at server/xxx/deploy/ROOT.war in 5.1.0
-
2. Re: URL configurations
itsamemario Jun 14, 2010 3:20 PM (in response to peterj)Thanks...that did work for the http sites...but it did not work for our https sites?
Any ideas on how that can be accomplished?
-
3. Re: URL configurations
peterj Jun 14, 2010 7:31 PM (in response to itsamemario)The default port for https is 8443, you need to change it to 443. The changes will be in the same files in which you changed 8080 to 80. Yes, that is a little vague, but not knowing exactly what you changed it is hard to tell you what to do next because there are several ways of doing this and each way involves diffedrent files. But regardless of what you changed, I think you have to change the redirectPort in server.xml from 8443 to 443.
-
4. Re: URL configurations
itsamemario Jun 14, 2010 8:19 PM (in response to peterj)Thanks Peter...
Peter Johnson wrote:
To change the contrext, see this: http://community.jboss.org/message/277786#277786, with one
minor change - the ROOT.war is at server/xxx/deploy/ROOT.war in 5.1.0This is what I am trying to do with an https site as well and it does not seem to be working. I have made all the changes from 8443 to 443, but am still getting no love when I try to go to:
I can't even get the page to load and throw an error, I just get a can not find error through the browser
-
5. Re: URL configurations
peterj Jun 15, 2010 4:12 PM (in response to itsamemario)Double-check that JBoss AS is openning port 443.
Also, have you done the necessary configuration for SSL? If not, see http://community.jboss.org/wiki/sslsetup
-
6. Re: URL configurations
itsamemario Jun 6, 2011 9:06 PM (in response to peterj)Been a while since I replied to this...
We were able to get http and https redirected to ports 80 and 443 respectively by making the appropriate changes in the server.xml file and by modifying the IPTables. We happened to run in to some issues with the iptables staying persisitent after reboot but fixed that with a cron job that would reset them on boot.