T5: Sharing Tapestry and Php apps

View: New views
2 Messages — Rating Filter:   Alert me  

T5: Sharing Tapestry and Php apps

by Angelo Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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,

Re: T5: Sharing Tapestry and Php apps

by Mark W. Shead-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> For additional commands, e-mail: users-help@...
>


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

LightInTheBox - Buy quality products at wholesale price!