You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stijn Christiaens <st...@vub.ac.be> on 2006/02/10 13:55:12 UTC

url forward problem

Hello list,

I have a question that can be answerred by setting some Hivemind
property somewhere in the hivemodule descriptor. Now only to find where.

I would like to use url forwarding with Tapestry. The forwarding is up
and running and points to the root, eg. www.myapp.com ->
mypcsomewhere.somedomain.com:8080/myapp/app 
Now I would like to have all urls generated by Tapestry to start with
www.myapp.com instead of mypc...:8080/myapp/app.

Any pointers?

Thanks in advance

-- 
Ciao,

Stijn



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


Re: url forward problem

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
Or it might be placed behind Apache server and mod_proxy, mod_rewrite and mod_rewrite_html could be used to do the trick.

I just did this for Struts application but id does not matter:
                   Please note that on sandbox LoadFile might look like this:
 LoadFile   /usr/lib/libxml2.so
   RewriteEngine On
 LoadFile   /usr/lib64/libxml2.so
 LoadModule proxy_html_module modules/mod_proxy_html.so
 ProxyPass /demo/ http://localhost:8080/
 ProxyHTMLURLMap http://localhost:8080 /demo
 
 
 <Location /demo/>
         ProxyPassReverse http://localhost:8080/
         ProxyPass http://localhost:8080/
         SetOutputFilter  proxy-html
 
 
         ProxyHTMLURLMap http://localhost /demo
         ProxyHTMLURLMap  /      /demo/
         ProxyHTMLURLMap  /demo  /demo
         RequestHeader    unset  Accept-Encoding
 </Location>
 

More information is here:
http://www.apacheweek.com/features/reverseproxies


Cliff Zhao <zh...@gmail.com> wrote: BaseTagWriter, I guess.

Or, I think that I saw somebody posted on this list: configure tomcat for
reverse proxy. That may work for you.

On 2/10/06, Stijn Christiaens  wrote:
>
> Hello list,
>
> I have a question that can be answerred by setting some Hivemind
> property somewhere in the hivemodule descriptor. Now only to find where.
>
> I would like to use url forwarding with Tapestry. The forwarding is up
> and running and points to the root, eg. www.myapp.com ->
> mypcsomewhere.somedomain.com:8080/myapp/app
> Now I would like to have all urls generated by Tapestry to start with
> www.myapp.com instead of mypc...:8080/myapp/app.
>
> Any pointers?
>
> Thanks in advance
>
> --
> Ciao,
>
> Stijn
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


Re: url forward problem

Posted by Cliff Zhao <zh...@gmail.com>.
BaseTagWriter, I guess.

Or, I think that I saw somebody posted on this list: configure tomcat for
reverse proxy. That may work for you.

On 2/10/06, Stijn Christiaens <st...@vub.ac.be> wrote:
>
> Hello list,
>
> I have a question that can be answerred by setting some Hivemind
> property somewhere in the hivemodule descriptor. Now only to find where.
>
> I would like to use url forwarding with Tapestry. The forwarding is up
> and running and points to the root, eg. www.myapp.com ->
> mypcsomewhere.somedomain.com:8080/myapp/app
> Now I would like to have all urls generated by Tapestry to start with
> www.myapp.com instead of mypc...:8080/myapp/app.
>
> Any pointers?
>
> Thanks in advance
>
> --
> Ciao,
>
> Stijn
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>