Re: Changing application path in production

2009-03-28 Thread Peter Ondruška

You can use Apache's mod_redirect but I find it easier just to put all
files in com.foo.bar.gwt.client.Main to web application root directory
and use welcome-files directive in web.xml (in your case it would be
Main.html). This makes Tomcat to serve xyz.com/abc/Main.html as
xyz.com/abc

On Mar 28, 3:25 am, imran...@gmail.com imran...@gmail.com wrote:
 Hi,

 I was wondering if there is a way to set up your gwt application such
 that something which I normally access as:

 http://xyz.com/abc/com.foo.bar.gwt.client.Main/Main.html

 could be accessed as

 http://xyz.com/abc/

 I am using apache infront of tomcat at the moment, and I thought about
 using something like mod-proxy or one of the similar apache plugins to
 map 
 fromhttp://xyz.com/abctohttp://xyz.com/abc/com.foo.bar.gwt.client.Main/Main.html.
 However I was hoping people may have been using a different/better
 approach to this.

 Thanks in advance,

 Imran
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Changing application path in production

2009-03-27 Thread imran...@gmail.com

Hi,

I was wondering if there is a way to set up your gwt application such
that something which I normally access as:


http://xyz.com/abc/com.foo.bar.gwt.client.Main/Main.html


could be accessed as


http://xyz.com/abc/


I am using apache infront of tomcat at the moment, and I thought about
using something like mod-proxy or one of the similar apache plugins to
map from http://xyz.com/abc to 
http://xyz.com/abc/com.foo.bar.gwt.client.Main/Main.html.
However I was hoping people may have been using a different/better
approach to this.

Thanks in advance,

Imran
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---