1) what’s the equivalent configuration in Jetty to listen on multiple IPs, as the Listen directive in Apache?
2) How can a sub-domain be configured with different context path?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Question 1.
Assuming you’re configuring using a
jetty.xmlfile, then you’ll have something in there that looks a bit like this:You’ll need one connector for each IP you want to listen on.
So, just duplicate that section as many times as you need.
Then for each of them replace the line
with
where http://www.xxx.yyy.zzz is the IP you want to listen on.
Question 2.
See