On 5/26/07, Pid <[EMAIL PROTECTED]> wrote:
Rashmi Rubdi wrote:
> On 5/26/07, Ran <[EMAIL PROTECTED]> wrote:
>> Hi all,
>> I would like to point 'forums.mysite.com' to 'www.mysite.com:8080/forums'
>> How could I do that with tomcat conf ? or I need to match the
>> requested url
>> in a redirect servlet ? or is it even a DNS zone file question ?
>
> You could write a redirect javax.servlet.Filter
>
>> Thanks,
>> ran
>>
forums.mysite.com = forums.mysite.com:80
Configure an HTTP connector to listen on 80, (rather than 8080),
then configure a virtualhost for 'forums.mysite.com', all of which is
assuming you've got a DNS record for this subdomain that points to your
server.
You then need to deploy the 'forums' web application as the ROOT*
context to make it work without a subdirectory.
I think he wants to redirect or forward all requests from
'forums.mysite.com' to 'www.mysite.com:8080/forums'
in that case wouldn't he be setting up a Filter that redirects or
forwards a request from forums.mysite.com to
www.mysite.com:8080/forums ?
* Case is important, lookup the docs.
p
> Regards
> Rashmi
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]