Re: Multiple development sites using different ports

2008-06-27 Thread Yves Glodt
Hello, yesterday I set up exactly what you need You need to set up 2 services, and inside define your hosts and connectors. So here my server.xml: Server port=8005 shutdown=SHUTDOWN debug=0 Service name=inst1 Connector port=8180 minProcessors=5 maxProcessors=75 useBodyEncodingForURI=true

RE: Multiple development sites using different ports

2008-06-27 Thread dylanmac
establish a connection to the server at revfoodslocal:9091. - Dylan Caldarale, Charles R wrote: From: dylanmac [mailto:[EMAIL PROTECTED] Subject: Re: Multiple development sites using different ports I looked at name-based virtual hosts and couldn't get it working. What did you try and what

Re: Multiple development sites using different ports

2008-06-27 Thread Hassan Schroeder
On Fri, Jun 27, 2008 at 1:38 PM, dylanmac [EMAIL PROTECTED] wrote: Host name=devlocal1 Host name=devlocal2 and here's what's in my hosts file: 127.0.0.1 localhost ::1 localhost 127.0.0.1 devlocal1 127.0.0.1

Re: Multiple development sites using different ports

2008-06-27 Thread dylanmac
://www.nabble.com/Multiple-development-sites-using-different-ports-tp18139932p18164537.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: Multiple development sites using different ports

2008-06-27 Thread Hassan Schroeder
On Fri, Jun 27, 2008 at 2:51 PM, dylanmac [EMAIL PROTECTED] wrote: In any event, I have tried what you suggested re: the hosts file and still no dice. There is a slight difference this time, though. Rather than getting a can't establish a connection message, I get a blank page. Is that

Multiple development sites using different ports

2008-06-26 Thread dylanmac
this message in context: http://www.nabble.com/Multiple-development-sites-using-different-ports-tp18139932p18139932.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users

Re: Multiple development sites using different ports

2008-06-26 Thread Hassan Schroeder
On Thu, Jun 26, 2008 at 11:08 AM, dylanmac [EMAIL PROTECTED] wrote: I'd like to configure Tomcat so that I can run multiple dev websites as root relative and distinguish them via port numbers. In order words, I'd like to run http://localhost:8080/index.jsp and have that be a different site

Re: Multiple development sites using different ports

2008-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dylanmac, dylanmac wrote: | The reason this matters to me is because I like running my sites as | root-relative. That way I can reference images, files, etc as, for example, | /images/logo.png rather than having to traverse the directory structure

Re: Multiple development sites using different ports

2008-06-26 Thread dylanmac
- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Multiple-development-sites-using-different-ports-tp18139932p18145739.html Sent from

Re: Multiple development sites using different ports

2008-06-26 Thread dylanmac
] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Multiple-development-sites-using-different-ports

Re: Multiple development sites using different ports

2008-06-26 Thread Hassan Schroeder
On Thu, Jun 26, 2008 at 4:58 PM, dylanmac [EMAIL PROTECTED] wrote: I looked at name-based virtual hosts and couldn't get it working. Moreover all of the documentation says I need to configure the DNS properly for name-based virtual hosting to work. Where do I do that? If this is only for

RE: Multiple development sites using different ports

2008-06-26 Thread Caldarale, Charles R
From: dylanmac [mailto:[EMAIL PROTECTED] Subject: Re: Multiple development sites using different ports I looked at name-based virtual hosts and couldn't get it working. What did you try and what didn't work? Be specific. Did you read the doc: http://tomcat.apache.org/tomcat-6.0-doc/virtual