Mike,

in server.xml file in conf folder find connector tag (in new version it's coyteconnector, in old version it's httpconnector) (or just search for 8080) and replace 8080 with 80. that will eliminate need for :8080.

also in server.xml, for the webtop context, make path="" and webtop's index.htm(l) will become default page. it will be something like this..

<Context path="" docBase="webtop" debug="0" reloadable="false"/>

Cheers
Vlad
At 12:27 PM 12/31/2002, you wrote:
Hi there,

Many thanks for the info.  I am still having the following problems I
hope you can help with.

A)  Our domain name is seewithin.stc.com.  The application is in a
folder called "webtop."  I would like the default location to be the
webtop folder.  However no matter what I do, when I type in
seewithin.stc.com:8080, it goes to the default "Tomcat" page.

B)  I would like to leave out the port number in the address.  Is there
a way to configure this?

Many many thanks for all your help!

Mike




-----Original Message-----
From: Robert Abbate [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 9:42 AM
To: Tomcat Users List
Cc: Mike Rixford
Subject: RE: Virtual Hosting with Tomcat


I'd say to just send requests directly to Tomcat on it's port..usually
8180 or 8080

http://yoursite.com:8180

then edit the server.xml file to point to where you want it to serve
your webpages. Here's an example config:

<Host name="yoursite.com">
  <Context path="" docBase="/home/mydirectory/public_html" debug="0"/>
<Alias>www.yoursite.com</Alias> </Host>


you'll put that in your server.xml file in between:

  <Service name="Tomcat-Standalone">
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">

<Host name="yoursite.com">
  <Context path="" docBase="/home/mydirectory/public_html" debug="0"/>
<Alias>www.yoursite.com</Alias> </Host>

    </Engine>

  </Service>


-----Original Message-----
From: Mike Rixford [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 11:31 AM
To: Tomcat Users List
Subject: Virtual Hosting with Tomcat


Hi there,

I need to setup virtual hosting with Tomcat.  We are not running the
full Apache server, just Tomcat and its web piece.  Can this be done?
Everything I have found so far refers to Apache not Tomcat on its own.

Any help would be greatly appreciated.

Thanks,

Mike

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
________________
Vladimer Shioshvili

QRC Division of Macro International Inc.
7315 Wisconsin Avenue, Suite 400W
Bethesda, MD 20814

Phone: (301) 657 3077 ext. 155

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to