On 22/12/2011 01:27, r.sriram wrote:
> you sound quite obnoxious and you don't seem to have any valid answers
> other than insulting others.

Oh no, you're quite mistaken, if I was being obnoxious I would be using
a different tone entirely.  I would probably make some offhand comments
about limited ability and so forth, but I'm not being obnoxious, I'm
trying to help you.


> I need my virtual host to work.

Plainly.

> I need to configure Tomcat to make it work.

Yes, get to the point.

> Mark provided specific steps and I followed it, but it didn't
> work. 

You need to do more than blindly copy instructions without understanding
them.

> I need specifically why it didn't work.

Because a) you follow the instructions incorrectly and b) you completely
ignored the simple explanation and hints I was giving you.

> do you have any suggestions, or you can let others answer.

Re-read the emails I sent in this thread.  One at a time.
When you've done what I suggested come back and let us know.


> and bottom-posting annoys me.

This comment is childish.  The reason that most of us don't like to see
top-posting is that this is a public mailing list and anyone could be
reading the conversation at some point in the future to learn from
someone else's experience.

If the conversation flow jumps up & down the page, it makes it much,
much harder to follow.

As you are not paying for the expert help you're getting here, you might
consider that the price is doing things our way.


p

> On 12/21/2011 11:19 PM, Pid wrote:
>> On 21/12/2011 17:38, r.sriram wrote:
>>> is it possible for you to give me steps on what I should do please to
>>> make the virtual host work.
>>> I have domain name x.com, y.com and z.com  (for example). For this what
>>> should the setup be so www.x.com, www.y.com and www.z.com take me to the
>>> servlet appropriate for each?
>> Please, *please*, stop top-posting.  It's lazy, it makes it harder for
>> people to follow the conversation and it annoys me.
>>
>> What are you not clear about?
>> Ask specific questions and we will provide specific answers.
>>
>>
>> p
>>
>>
>>> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>>
>>>
>>>
>>> On 12/21/2011 10:09 PM, Pid wrote:
>>>> On 20/12/2011 11:55, Pid wrote:
>>>>> On 20/12/2011 09:21, r.sriram wrote:
>>>>>> Thanks Andre.
>>>>>> a few quick questions.
>>>>>>
>>>>>> Questions with respect to your response:
>>>>>> Your response:
>>>>>>
>>>>>>      <Host name="host1.domain1.com"... appBase="/path1/webapps/" ..>
>>>>>>      ...
>>>>>>      </Host>
>>>>>>
>>>>>>      <Host name="host2.domain2.com"... appBase="/path2/webapps/" ..>
>>>>>>      ...
>>>>>>      </Host>
>>>>>>
>>>>>> Questions:
>>>>>>
>>>>>>    * which is the file where I should add these lines
>>>>>    tomcat/conf/server.xml
>>>>>
>>>>>>    * Is host1:www. If not what is it?
>>>>> I don't know what that means.
>>>>>
>>>>>>    * does path1, path2 etc. start at CATALINA_HOME?
>>>>> See below.
>>>>>
>>>>>>    * Is there any other configuration change that I need to do
>>>>> Yes, you will need to configure the connection between HTTPD and
>>>>> Tomcat,
>>>>> using mod_proxy or mod_jk.
>>>>>
>>>>>> My Situation
>>>>>> Tomcat will be installed in directory let us say in Program Files
>>>>>> (*86)
>>>>>> directory. That will have the web-inf directory.
>>>>> WEB-INF, not web-inf.
>>>>>
>>>>>> Each domain has its own root, let us say: ..\domainX.com\httpdocs,
>>>>>> domainY.com\httpdocs etc.
>>>>> In that case, there should also be:
>>>>>
>>>>>    ..\domainX.com\appBase
>>>>>    ..\domainY.com\appBase
>>>> Like I said here ^^^
>>>>
>>>>
>>>>>> Questions:
>>>>>>
>>>>>>    * should I copy WEB-INF directory from C:\Program Files
>>>>>>      (x86)\apache-tomcat-6.0.33\webapps\ROOT\ to each of
>>>>>>      ..\domainX.com\httpdocs, domainY.com\httpdocs etc.
>>>>> No. Definitely not.
>>>>>
>>>>> A web application is not the same as a document root.
>>>>>
>>>>> You should move the whole of ROOT to the appBase described above.
>>>> and here ^^^
>>>>
>>>>
>>>> p
>>>>
>>>>
>>>>>> On 12/19/2011 1:12 PM, André Warnier wrote:
>>>>>>> r.sriram wrote:
>>>>>>>> Hello,
>>>>>>>> I am setting up my multiple domains on Go Daddy. In my current
>>>>>>>> in-house windows server my Tomcat is on Program Files (86) and the
>>>>>>>> ROOT is in C:\Program Files (x86)\apache-tomcat-6.0.33\webapps
>>>>>>>> directory. That is where WEB-INF is, that is what is my actual path
>>>>>>>> for all files that gets picked up by my web pages (including my
>>>>>>>> servlets).
>>>>>>>>
>>>>>>>> In Go Daddy, there would be different ROOTs for each domain.
>>>>>>>> (../<domain>/httpdocs) But there would be one Tomcat installation.
>>>>>>>>
>>>>>>>> can Tomcat be installed in Program Files (86), and the servlets,
>>>>>>>> and
>>>>>>>> all the files needed for the domain be placed in ../<domain
>>>>>>>> name>/httpdocs?
>>>>>>>> Thanks.....Ram
>>>>>>>>
>>>>>>> Sure. Look at virtual hosts, here :
>>>>>>> http://tomcat.apache.org/tomcat-7.0-doc/config/host.html
>>>>>>> (and their appBase attribute)
>>>>>>>
>>>>>>> <Host name="host1.domain1.com"... appBase="/path1/webapps/" ..>
>>>>>>> ...
>>>>>>> </Host>
>>>>>>>
>>>>>>> <Host name="host2.domain2.com"... appBase="/path2/webapps/" ..>
>>>>>>> ...
>>>>>>> </Host>
>>>>>>> etc..
>>>>>>>
>>>>>>> I suggest to leave the default<Host name="localhost" ..>   as it is,
>>>>>>> and just add the others.
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>>>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


-- 

[key:62590808]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to