You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2008/12/02 01:10:46 UTC

T5: Sharing Tapestry and Php apps

Hi,

I have an running T5 app, it uses port 80 and the index.tmp/index.java
captures everything passed to the domain:

www.example.comm, www.example.com/123, www.example.com/list...

now I need to install a phh based webmail, for that I installed Apache web
server in port 8080:

www.example.com:8080/webmail

if I configure Apache Web server to run in port 80 and link the tomcat 6 to
apache server, can I do this:

www.example.com/123				this goes to tapestry 5 app in Tomcat 6
www.example.com/webmail			this goes to php app in Apache Web Server

possible? 

Thanks,
-- 
View this message in context: http://www.nabble.com/T5%3A-Sharing-Tapestry-and-Php-apps-tp20783486p20783486.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5: Sharing Tapestry and Php apps

Posted by "Mark W. Shead" <mw...@gmail.com>.
You should be able to run Apache with PHP on port 80 and use the proxy  
module to map in the Tapestry application (running on another port).

Something along the lines of:
ProxyPass         /myapp  http://localhost:8081/myapp
ProxyPassReverse  /myapp  http://localhost:8081/myapp
This document will give you a good starting place:
http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html
Mark
On Dec 1, 2008, at 6:10 PM, Angelo Chen wrote:

>
> Hi,
>
> I have an running T5 app, it uses port 80 and the index.tmp/index.java
> captures everything passed to the domain:
>
> www.example.comm, www.example.com/123, www.example.com/list...
>
> now I need to install a phh based webmail, for that I installed  
> Apache web
> server in port 8080:
>
> www.example.com:8080/webmail
>
> if I configure Apache Web server to run in port 80 and link the  
> tomcat 6 to
> apache server, can I do this:
>
> www.example.com/123				this goes to tapestry 5 app in Tomcat 6
> www.example.com/webmail			this goes to php app in Apache Web Server
>
> possible?
>
> Thanks,
> -- 
> View this message in context: http://www.nabble.com/T5%3A-Sharing-Tapestry-and-Php-apps-tp20783486p20783486.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org