tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Purcell" <>
Subject Site Configuration on 5.5.15 Pt 2
Date Mon, 08 May 2006 16:59:37 GMT

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
[] and not the []

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

-----Original Message-----
From: Chris Berthold [] 
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
of your sites.  The localhost can be setup for your admin console and
and you can create to point to a different root.
server.xml another <host> 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
needs to do a forward to the servlet or jsp that you are displaying and
a redirect.  I had the same problem with google and the other search

<Host name="" debug="0"
       unpackWARs="true" autoDeploy="true">

		<Context path="" docBase="" debug="1"/>

                 directory="logs"  prefix="theuniquepear_access_log."
                 pattern="common" resolveHosts="false"/>

Chris Berthold
IT Systems Analyst
Commercial Refrigerator Door Company
941 . 371 . 8110 x 205
-----Original Message-----
From: Scott Purcell [] 
Sent: Friday, May 05, 2006 9:21 AM
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.


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. 


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.


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.


The url is < <>


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? 


Thanks, much


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message