You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Thomas Garger <to...@gmx.net> on 2002/07/04 11:10:58 UTC
Redirect Apache Requests to Tomcat
Hi!
I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
is called with the following URL
(http://MyServer-IP:8080/cocoon/myhomepage).
I also have a domain-name (http://www.MyDomainName.at )where i put the
DNS to the IP of my Server. But every time someone want to call my
homepage,
he has to insert the following
(http://www.MyDomainName.at:8080/cocoon/myhomepage).
That is bad.
And thats my intension:
-----------------------
I want to run Apache Web-Server, which is listening on port 80.
So my question ist - can i configure Apache Web-Server and Tomcat in
this
way, that
every request, that comes to the Apache Web-Server is redirectedt to
Tomcat
(for example - someone calls http://www.MyDomainName.at he calls the
Apache Web-Server - this Server gets the sites from Tomcat and displays
the
content).
if someone needs further information, please tell me.
thanks
greetings, chris
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Redirect Apache Requests to Tomcat
Posted by yuryx <yu...@mobicomk.donpac.ru>.
Thomas Garger wrote:
>Hi!
>
>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
>is called with the following URL
>(http://MyServer-IP:8080/cocoon/myhomepage).
>
>I also have a domain-name (http://www.MyDomainName.at )where i put the
>DNS to the IP of my Server. But every time someone want to call my
>homepage,
>he has to insert the following
>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>That is bad.
>
>And thats my intension:
>-----------------------
>I want to run Apache Web-Server, which is listening on port 80.
>
>So my question ist - can i configure Apache Web-Server and Tomcat in
>this
>way, that
>every request, that comes to the Apache Web-Server is redirectedt to
>Tomcat
>(for example - someone calls http://www.MyDomainName.at he calls the
>Apache Web-Server - this Server gets the sites from Tomcat and displays
>the
>content).
>
>if someone needs further information, please tell me.
>
>thanks
>greetings, chris
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
Try to install mod_webapp module and configure the warp connection on
Tomcat and Apache sides
See also http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/warp.html
Regards.
Yury.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Redirect Apache Requests to Tomcat
Posted by yuryx <yu...@mobicomk.donpac.ru>.
Thomas Garger wrote:
>Hi!
>
>I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
>is called with the following URL
>(http://MyServer-IP:8080/cocoon/myhomepage).
>
>I also have a domain-name (http://www.MyDomainName.at )where i put the
>DNS to the IP of my Server. But every time someone want to call my
>homepage,
>he has to insert the following
>(http://www.MyDomainName.at:8080/cocoon/myhomepage).
>That is bad.
>
>And thats my intension:
>-----------------------
>I want to run Apache Web-Server, which is listening on port 80.
>
>So my question ist - can i configure Apache Web-Server and Tomcat in
>this
>way, that
>every request, that comes to the Apache Web-Server is redirectedt to
>Tomcat
>(for example - someone calls http://www.MyDomainName.at he calls the
>Apache Web-Server - this Server gets the sites from Tomcat and displays
>the
>content).
>
>if someone needs further information, please tell me.
>
>thanks
>greetings, chris
>
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
>
>
>
Try to search more information about that in
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/index.html also
Regards.
Yury.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Redirect Apache Requests to Tomcat
Posted by Michael Melhem <mi...@fztig938.bank.dresdner.net>.
On Thu, Jul 04, 2002 at 11:10:58AM +0200, Thomas Garger wrote:
> Hi!
>
> I have Cocoon 2.0.2 running under Tomcat on port 8080. My Homepage
> is called with the following URL
> (http://MyServer-IP:8080/cocoon/myhomepage).
>
> I also have a domain-name (http://www.MyDomainName.at )where i put the
> DNS to the IP of my Server. But every time someone want to call my
> homepage,
> he has to insert the following
> (http://www.MyDomainName.at:8080/cocoon/myhomepage).
> That is bad.
>
> And thats my intension:
> -----------------------
> I want to run Apache Web-Server, which is listening on port 80.
>
> So my question ist - can i configure Apache Web-Server and Tomcat in
> this
> way, that
> every request, that comes to the Apache Web-Server is redirectedt to
> Tomcat
> (for example - someone calls http://www.MyDomainName.at he calls the
> Apache Web-Server - this Server gets the sites from Tomcat and displays
> the
> content).
We use "mod_jk" for communication between Tomcat.3.3 and
Apache.
checkout:
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/mod_jk-howto.html
Regards,
Michael Melhem
>
> if someone needs further information, please tell me.
>
> thanks
> greetings, chris
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>