Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 22842 invoked from network); 8 May 2006 17:00:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 May 2006 17:00:17 -0000 Received: (qmail 36957 invoked by uid 500); 8 May 2006 17:00:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 36215 invoked by uid 500); 8 May 2006 17:00:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 36204 invoked by uid 99); 8 May 2006 17:00:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 10:00:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.103.126.135] (HELO mail.dsg.vertisinc.com) (63.103.126.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 10:00:00 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: Site Configuration on 5.5.15 Pt 2 Date: Mon, 8 May 2006 11:59:37 -0500 Message-ID: <34385CBC5E8E664EB0007814636AB36A0316DBA8@mail.dsg.vertisinc.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Site Configuration on 5.5.15 Pt 2 Thread-Index: AcZwRs7JBW7z9TLaRH+cqfBbjgCgkwAAMmowAJ4qJVA= From: "Scott Purcell" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello, Last Friday, I posted the below thread, and followed Chris' directions to create the virtual host. All appears good, and works great. I only ran into one last problem, and was hoping someone may know the solution. When google indexes my site, and I enter [The Unique Pear] into the search bar, it brings back my site, actually on page 1 near the top. This is great news. I only have one problem with this. When you hover the link or click the link, it takes the user to [http://theuniquepear.com] and not the [http://www.theuniquepear.com] site. I have a ssl certificate that points to www.sitename. So the site certificate is screwed up. So my question is, how does google get the www? Or is this something I need to handle? And if so, does this have anything to do with the Alias I created (below)? Thanks for any input Scott -----Original Message----- From: Chris Berthold [mailto:cberthold@styleline.com]=20 Sent: Friday, May 05, 2006 8:35 AM To: 'Tomcat Users List' Subject: RE: Site Configuration on 5.5.15 No you won't run into any issues. You can do Virtual Host Based direction of your sites. The localhost can be setup for your admin console and such and you can create www.theuniquepear.com to point to a different root. In server.xml another entry like so. The application base can be whatever you want. Deploy to that directory and you won't need the index.jsp to redirect. Also keep in mind that if you use an index.jsp it needs to do a forward to the servlet or jsp that you are displaying and not a redirect. I had the same problem with google and the other search engines. theuniquepear.com www Chris Berthold IT Systems Analyst Commercial Refrigerator Door Company 941 . 371 . 8110 x 205 -----Original Message----- From: Scott Purcell [mailto:spurcell@vertisinc.com]=20 Sent: Friday, May 05, 2006 9:21 AM To: users@tomcat.apache.org Subject: Site Configuration on 5.5.15 I am running Tomcat 5.5.15 on a PC running Windows XP. I have been battling this problem for 6 months, and could use some help. =20 I purchased a URL for my web site. I created the site in a folder under the root document called "unique". As I was building the site, I would hit the site like so: http://localhost/unique/index.jsp. I finished the site up 6 months or so ago, and purchased my DNS name.=20 =20 Here is where the problem has been culminating from. I added my dns entry into the server.xml and found that by hitting the url that the site would point into the root folder. So within the root folder I created a jsp page that did a redirect to the /unique/index.jsp page. This seems to work, and people can hit my site. =20 But for some strange issue, google has not been able to index the site, and when I ran "Site Magellan" on the site last night it only sees the first page. It never sees any links. Googlebots never see any links, and not site Magellan sees no links. When I run Lynx on the site, can navigate just fine. But eveidently something is screwed up in regards to my tomcat configuration, or something. =20 The url is > =20 If anyone knows where I may of screwed up or has ideas, please let me know, as I am about at the end of my rope on this one. I know I could move the site into the root folder, but what if I add another DNS tomorrow for another site, then I would run into the same issue right?=20 =20 Thanks, much Scott --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org