Re: address bar shows ip instead of domain name

2008-07-31 Thread Ken Bowen
Thanks to Mark for the last bit. On Jul 31, 2008, at 3:27 PM, nilanthan wrote: Thanks alot Ken. Just got it working. ww.. so easy now..lol..but thansk again for all your time and help. Mark Thomas-18 wrote: nilanthan wrote: Do I need to have Apache mod_jk connector for this to work

Re: address bar shows ip instead of domain name

2008-07-31 Thread nilanthan
Thanks alot Ken. Just got it working. ww.. so easy now..lol..but thansk again for all your time and help. Mark Thomas-18 wrote: > > nilanthan wrote: >> Do I need to have Apache mod_jk connector for this to work? > > No. You can do it all just with Tomcat. > > Mark > >> >> Mark Thomas-18

Re: address bar shows ip instead of domain name

2008-07-31 Thread Mark Thomas
nilanthan wrote: Do I need to have Apache mod_jk connector for this to work? No. You can do it all just with Tomcat. Mark Mark Thomas-18 wrote: nilanthan wrote: no, i dont want to do that since i will have multiple apps on the tomcat. but I want the domain name entered to go to specific w

Re: address bar shows ip instead of domain name

2008-07-31 Thread nilanthan
Do I need to have Apache mod_jk connector for this to work? Mark Thomas-18 wrote: > > nilanthan wrote: >> no, i dont want to do that since i will have multiple apps on the tomcat. >> but >> I want the domain name entered to go to specific webapp folder in tomcat. >> I >> have 5 domains on netfir

Re: address bar shows ip instead of domain name

2008-07-31 Thread Mark Thomas
nilanthan wrote: no, i dont want to do that since i will have multiple apps on the tomcat. but I want the domain name entered to go to specific webapp folder in tomcat. I have 5 domains on netfirms going to same ip. I want the domain name entered to go to specific folder. http://tomcat.apache.o

Re: address bar shows ip instead of domain name

2008-07-31 Thread nilanthan
no, i dont want to do that since i will have multiple apps on the tomcat. but I want the domain name entered to go to specific webapp folder in tomcat. I have 5 domains on netfirms going to same ip. I want the domain name entered to go to specific folder. Ken Bowen wrote: > > I think what you a

Re: address bar shows ip instead of domain name

2008-07-31 Thread Ken Bowen
I think what you are looking for is to make your application the default application for your Tomcat instance. Search the archives about this, since it is a common question. Basically you need to delete the existing ROOT, and rename your app to be ROOT. On Jul 31, 2008, at 10:50 AM, nilantha

Re: address bar shows ip instead of domain name

2008-07-31 Thread nilanthan
Yes I have a domain, ex, mydomain.com, I have as A-record going to that IP. The issue is that I want when someone types in mydomain.com in the address bar to forward to http://00.00.00.00:8080/mywebapp/welcome.action and still display mydomain.com. I need the urlrewrite to forward mydomain.com to

Re: address bar shows ip instead of domain name

2008-07-30 Thread Ken Bowen
If you mean: type http://mydomain.com and get to 00.00.00.00:/, you must register mydomain.com in the DNS with some ISP. If you want to get rid of the :8080, you must configure Tomcat to listen on port 80 instead of 8080 (check the howTo's, or search the archives). On Jul 30, 2008, at 1:13 PM,

Re: address bar shows ip instead of domain name

2008-07-30 Thread nilanthan
how do i map to the domain name itself.. When I do /mydomain.com to /mywebapp/welcome.action, it only works if I type this in the browser: http://00.00.00.00:8080/mydomain.com. then it goes to http://00.00.00.00:8080/mywebapp/welcome.action but I have created a record for mydomain.com to go to

Re: address bar shows ip instead of domain name

2008-07-29 Thread nilanthan
Thanks Ken for all your help! Ken Bowen wrote: > > In rule, map > > /mydomain.com to /mywebapp/welcome.action > > in outbound-rule, map > > /mywebapp/welcome.action to /mydomain.com > > Do that for welcome, register, and every other page. > > Depending on the rules you need, you can mak

Re: address bar shows ip instead of domain name

2008-07-29 Thread Ken Bowen
In rule, map /mydomain.com to /mywebapp/welcome.action in outbound-rule, map /mywebapp/welcome.action to /mydomain.com Do that for welcome, register, and every other page. Depending on the rules you need, you can make some use of regular expressions. On Jul 29, 2008, at 10:25 AM, nilant

Re: address bar shows ip instead of domain name

2008-07-29 Thread nilanthan
Thanks. I have placed the files/codes in the right spots and when I do localhost:8080/mywebapp/rewrite-status I get the urlrewrite page. But what i need is when a user types in the browser www.mydomain.com, it should go to http://00.00.00.00:8080/mywebapp/welcome.action but still display http://w

Re: address bar shows ip instead of domain name

2008-07-28 Thread Ken Bowen
I don't know of any tutorial -- I found the documentation gave me enough guidance. It's really pretty straight-forward. Drop a filter definition like this in your web.xml: UrlRewriteFilter org.tuckey.web.filters.urlrewrite.UrlRewriteFilterfilter-class> UrlRewriteFilter /*

Re: address bar shows ip instead of domain name

2008-07-28 Thread nilanthan
Thanks. I have looked at that before but am a bit confused about the instructions. Is there a good tutorial for this urlrewrite? Ken Bowen wrote: > > Apply a rewrite filter (http://tuckey.org/urlrewrite/) to map the ip > expression to what you want. > > ken > > On Jul 28, 2008, at 5:36 PM,

Re: address bar shows ip instead of domain name

2008-07-28 Thread Ken Bowen
Apply a rewrite filter (http://tuckey.org/urlrewrite/) to map the ip expression to what you want. ken On Jul 28, 2008, at 5:36 PM, nilanthan wrote: So what Can I do so that that domain goes to that address but shows the domain in the address bar? Yuval Perlov wrote: Where ever you for

Re: address bar shows ip instead of domain name

2008-07-28 Thread nilanthan
So what Can I do so that that domain goes to that address but shows the domain in the address bar? Yuval Perlov wrote: > > Where ever you forward, that's what the address bar shows > > > On Jul 28, 2008, at 7:45 PM, nilanthan wrote: > >> >> Hi, >> I have a website hosted on netfirms. I have a

Re: address bar shows ip instead of domain name

2008-07-28 Thread Yuval Perlov
Where ever you forward, that's what the address bar shows On Jul 28, 2008, at 7:45 PM, nilanthan wrote: Hi, I have a website hosted on netfirms. I have a domain,exmaple, mydomain.com and it forwards to an address http:/xx.xx.xxx.xx:8080/folder1/ welcome.action where xx is the ip of the se