You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kannan Kanagaraj <qu...@gmail.com> on 2008/03/25 12:52:50 UTC
Aliases in Tomcat 6.0
Hello All
I am migrating an application running on Apache 1.3.x to Tomcat 6.0.
One of the problem I face :
In Apache httpd.conf, there is config tag: 'Alias', which I could
not find an
equivalent tag in Tomcat 6.0. I have searched over the internet but no
luck.
Example use of Alias in Apache httpd.conf: Alias /UserManuals
"x:/usermanuals"
Here all the User Manuals are kept in a separate network drive which the
webserver
has access. So, for a URL request
http://www.domain.com/UserManuals/Model_V1.pdf
would internally do a lookup to x:/usermanuals/Model_V1.pdf and return it to
the user.
How do I configure the same in Tomcat 6.0 ?
Many Thanks
//Kannan
Re: Aliases in Tomcat 6.0
Posted by Kannan Kanagaraj <qu...@gmail.com>.
Yeah that was my initial plan. My application doesn't have any static pages
at all. I could very well use
a standalone Tomcat for this purpose as it has both Http Server and Web
Container. What I wasn't sure
was the performance. If the standalone is better than having a front end
request handler, I am very pleased
to use it as is.
Thanks.
On 3/25/08, Caldarale, Charles R <Ch...@unisys.com> wrote:
>
> > From: Kannan Kanagaraj [mailto:queries.java@gmail.com]
> > Subject: Re: Aliases in Tomcat 6.0
> >
> > What I did so far was to use Tomcat as both Web Server and Servlet
> > container. Which is not the right way to design.
>
> There's nothing wrong with using Tomcat standalone. Performance of a
> current version of Tomcat by itself is nearly always better than
> front-ending it with httpd, unless your web site consists almost
> entirely of static content. You may want httpd for other purposes
> (e.g., a poor man's load balancer), but performance isn't one of them.
> Keep your life simple.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
RE: Aliases in Tomcat 6.0
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Kannan Kanagaraj [mailto:queries.java@gmail.com]
> Subject: Re: Aliases in Tomcat 6.0
>
> What I did so far was to use Tomcat as both Web Server and Servlet
> container. Which is not the right way to design.
There's nothing wrong with using Tomcat standalone. Performance of a
current version of Tomcat by itself is nearly always better than
front-ending it with httpd, unless your web site consists almost
entirely of static content. You may want httpd for other purposes
(e.g., a poor man's load balancer), but performance isn't one of them.
Keep your life simple.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Aliases in Tomcat 6.0
Posted by Kannan Kanagaraj <qu...@gmail.com>.
Hi Karthik
I think I understand what you mean to say. Let me reconfirm it:
Use Apache 2.x for HTTP Server and Tomcat 6.0 for servlet container.
Use mod_jk to plug in these servers. Hope that is correct ?
What I did so far was to use Tomcat as both Web Server and Servlet
container.
Which is not the right way to design.
Thanks
//Kannan
On 3/25/08, karthikn <ka...@xius-bcgi.com> wrote:
>
> Hi
>
> You seems to be in confusion.
>
> First visit TOMCAT website ,download ,work on the example application
>
> Redesign u'r site as per requirement and deploy the same in Tomcat env
>
> Use Tomcat to plug to Apache 2.x heavy load http traffic
>
>
> Migration from Jserv to Tomcat is little bit difficult as the internal
> architecture of jserv is different from tomcat
>
> Jserv is outdated and replaced with tomcat
>
>
> with regards
> karthik
>
>
>
>
>
>
>
> Kannan Kanagaraj wrote:
> > Hi
> >
> > I am running Apache 1.3.x with Apache JServ. The migration/upgrade
> process
> > is to use Tomcat 6.0 for both http and servlet servlet.
> > So that I can get rid off old versions of apache. There are no static
> pages
> > in my application, all the requests are handled and processed
> > at the servlet container.
> >
> > On 3/25/08, karthikn <ka...@xius-bcgi.com> wrote:
> >
> >> Hi
> >>
> >> Tomcat is a mini http server + web container ,
> >> while Apache 1.3.x is only a http server
> >>
> >> What application are u running on Apche
> >>
> >> Tomcat can be plugged to Apache for more request responses
> >> exceeding other then Tomcat direct interaction
> >>
> >>
> >>
> >>
> >> with regards
> >> karthik
> >>
> >>
> >> Kannan Kanagaraj wrote:
> >>
> >>> Hello All
> >>>
> >>> I am migrating an application running on Apache 1.3.x to Tomcat 6.0.
> >>>
> >>> One of the problem I face :
> >>> In Apache httpd.conf, there is config tag: 'Alias', which I
> >>>
> >> could
> >>
> >>> not find an
> >>> equivalent tag in Tomcat 6.0. I have searched over the internet but
> no
> >>> luck.
> >>>
> >>> Example use of Alias in Apache httpd.conf: Alias /UserManuals
> >>> "x:/usermanuals"
> >>> Here all the User Manuals are kept in a separate network drive which
> the
> >>> webserver
> >>> has access. So, for a URL request
> >>> http://www.domain.com/UserManuals/Model_V1.pdf
> >>> would internally do a lookup to x:/usermanuals/Model_V1.pdf and return
> >>>
> >> it to
> >>
> >>> the user.
> >>>
> >>> How do I configure the same in Tomcat 6.0 ?
> >>>
> >>> Many Thanks
> >>> //Kannan
> >>>
> >>> .
> >>>
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To start a new topic, e-mail: users@tomcat.apache.org
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >>
> >
> > .
> >
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Aliases in Tomcat 6.0
Posted by karthikn <ka...@xius-bcgi.com>.
Hi
You seems to be in confusion.
First visit TOMCAT website ,download ,work on the example application
Redesign u'r site as per requirement and deploy the same in Tomcat env
Use Tomcat to plug to Apache 2.x heavy load http traffic
Migration from Jserv to Tomcat is little bit difficult as the internal
architecture of jserv is different from tomcat
Jserv is outdated and replaced with tomcat
with regards
karthik
Kannan Kanagaraj wrote:
> Hi
>
> I am running Apache 1.3.x with Apache JServ. The migration/upgrade process
> is to use Tomcat 6.0 for both http and servlet servlet.
> So that I can get rid off old versions of apache. There are no static pages
> in my application, all the requests are handled and processed
> at the servlet container.
>
> On 3/25/08, karthikn <ka...@xius-bcgi.com> wrote:
>
>> Hi
>>
>> Tomcat is a mini http server + web container ,
>> while Apache 1.3.x is only a http server
>>
>> What application are u running on Apche
>>
>> Tomcat can be plugged to Apache for more request responses
>> exceeding other then Tomcat direct interaction
>>
>>
>>
>>
>> with regards
>> karthik
>>
>>
>> Kannan Kanagaraj wrote:
>>
>>> Hello All
>>>
>>> I am migrating an application running on Apache 1.3.x to Tomcat 6.0.
>>>
>>> One of the problem I face :
>>> In Apache httpd.conf, there is config tag: 'Alias', which I
>>>
>> could
>>
>>> not find an
>>> equivalent tag in Tomcat 6.0. I have searched over the internet but no
>>> luck.
>>>
>>> Example use of Alias in Apache httpd.conf: Alias /UserManuals
>>> "x:/usermanuals"
>>> Here all the User Manuals are kept in a separate network drive which the
>>> webserver
>>> has access. So, for a URL request
>>> http://www.domain.com/UserManuals/Model_V1.pdf
>>> would internally do a lookup to x:/usermanuals/Model_V1.pdf and return
>>>
>> it to
>>
>>> the user.
>>>
>>> How do I configure the same in Tomcat 6.0 ?
>>>
>>> Many Thanks
>>> //Kannan
>>>
>>> .
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>
> .
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Aliases in Tomcat 6.0
Posted by Kannan Kanagaraj <qu...@gmail.com>.
Hi
I am running Apache 1.3.x with Apache JServ. The migration/upgrade process
is to use Tomcat 6.0 for both http and servlet servlet.
So that I can get rid off old versions of apache. There are no static pages
in my application, all the requests are handled and processed
at the servlet container.
On 3/25/08, karthikn <ka...@xius-bcgi.com> wrote:
>
> Hi
>
> Tomcat is a mini http server + web container ,
> while Apache 1.3.x is only a http server
>
> What application are u running on Apche
>
> Tomcat can be plugged to Apache for more request responses
> exceeding other then Tomcat direct interaction
>
>
>
>
> with regards
> karthik
>
>
> Kannan Kanagaraj wrote:
> > Hello All
> >
> > I am migrating an application running on Apache 1.3.x to Tomcat 6.0.
> >
> > One of the problem I face :
> > In Apache httpd.conf, there is config tag: 'Alias', which I
> could
> > not find an
> > equivalent tag in Tomcat 6.0. I have searched over the internet but no
> > luck.
> >
> > Example use of Alias in Apache httpd.conf: Alias /UserManuals
> > "x:/usermanuals"
> > Here all the User Manuals are kept in a separate network drive which the
> > webserver
> > has access. So, for a URL request
> > http://www.domain.com/UserManuals/Model_V1.pdf
> > would internally do a lookup to x:/usermanuals/Model_V1.pdf and return
> it to
> > the user.
> >
> > How do I configure the same in Tomcat 6.0 ?
> >
> > Many Thanks
> > //Kannan
> >
> > .
> >
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Aliases in Tomcat 6.0
Posted by karthikn <ka...@xius-bcgi.com>.
Hi
Tomcat is a mini http server + web container ,
while Apache 1.3.x is only a http server
What application are u running on Apche
Tomcat can be plugged to Apache for more request responses
exceeding other then Tomcat direct interaction
with regards
karthik
Kannan Kanagaraj wrote:
> Hello All
>
> I am migrating an application running on Apache 1.3.x to Tomcat 6.0.
>
> One of the problem I face :
> In Apache httpd.conf, there is config tag: 'Alias', which I could
> not find an
> equivalent tag in Tomcat 6.0. I have searched over the internet but no
> luck.
>
> Example use of Alias in Apache httpd.conf: Alias /UserManuals
> "x:/usermanuals"
> Here all the User Manuals are kept in a separate network drive which the
> webserver
> has access. So, for a URL request
> http://www.domain.com/UserManuals/Model_V1.pdf
> would internally do a lookup to x:/usermanuals/Model_V1.pdf and return it to
> the user.
>
> How do I configure the same in Tomcat 6.0 ?
>
> Many Thanks
> //Kannan
>
> .
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org