add another CNAME (Canonical Name) for
http://foo.example.comhttp://httpd.apache.org/docs/1.3/vhosts/examples.html#purename
Martin ______________________________________________Disclaimer and
confidentiality noteEverything in this e-mail and any attachments relates to
the official business of Sender. This transmission is of a confidential nature
and Sender does not endorse distribution to any party other than intended
recipient. Sender does not necessarily endorse content contained within this
transmission.> > > If you were using apache infront of tomcat you can use the
proxy to do> > this for you I think> >> > ProxyPass /
ajp13://localhost:8009/app/> >> > any requests for '/' go to '/app/' on tomcat>
> David,> > I'm experimenting Apache2.2+mod_proxy_* in front of Tomcat5.5.> > I
have simply put:> > ProxyPass /blog/ http://localhost:8081/roller/blog/>
ProxyPassReverse /blog/ http://localhost:8081/roller/blog/> > And this finally
works!!> > Great! But a new problem has raised...> > When I access to
http://www.example.com/blog and I click on a link inside> the page, I get error
of 'document not found'.> > Infact, every link on the page is relative to the
web app> (http://localhost:8081/roller/). I can't believe that roller
developers> have used absolute path ;-) so I think is a problem bound to
reverse proxy> configuration.. What it can be?> > rocsca> > >> Not
necessarily.> >>> >> > And even the app name can be avoid in a URL Path?> >>>
>> Yes, but look below to understand precisily what I really want.> >>> >> I
have an application, say 'app'. I access it trhough:> >>> >>
http://www.example.com/app> >>> >> I have a valid URL:> >>> >>
http://www.example.com/app/foo> >>> >> I would like to know if it possible to
create a shortcut to this latest> >> URL like:> >>> >> http://foo.example.com>
>>> >> or> >>> >> http://www.example.com/foo> > > >
---------------------------------------------------------------------> To start
a new topic, e-mail: users@tomcat.apache.org> To unsubscribe, e-mail: [EMAIL
PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED]>
_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate. Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline