Re: Multiple development sites using different ports

2008-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dylanmac, dylanmac wrote: | Thanks for your response. Unfortunately I am pretty green about all this and | it doesn't make a lot of sense to me. Yeah, it takes some getting used to. There are many port numbers to juggle and stuff like that. Once yo

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 >

Re: Multiple development sites using different ports

2008-06-27 Thread dylanmac
Ha, that's embarrassing. I've been substituting real names for fake ones for the sake of this discussion and got my wires crossed in my reply. 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

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: > 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 devlocal2 > > When I try to hit either ht

RE: Multiple development sites using different ports

2008-06-27 Thread dylanmac
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 didn't work? Be speci

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: This makes you 2 tomcats, one on loaclhost:8180 and the other on loaclhost:8181, wit

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.

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 f

Re: Multiple development sites using different ports

2008-06-26 Thread dylanmac
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? Thanks. Hassan Schroeder-2 wrote: > > On Thu, Jun 26, 2008 at 11:08 AM, dylanmac <[EMAIL P

Re: Multiple development sites using different ports

2008-06-26 Thread dylanmac
Thanks for your response. Unfortunately I am pretty green about all this and it doesn't make a lot of sense to me. When you say "better off using paths that are relative to the context root" do you mean I shouldn't be using root-relative? What tools are available that will help me do this in

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 v

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 si