Thank you. I changed it to your example and now it's working

On Thu, Jul 24, 2014 at 8:35 PM, Igal @ getRailo.org <i...@getrailo.org>
wrote:

> I prefer to use Context/docBase instead of Host/appBase
>
> try this:
>
> <Host name="www.mysite.com">
>    <Alias>mysite.com</Alias>
>
>    <Context path="" docBase="/var/lib/tomcat7/webapps/mysite" />
> </Host>
>
>
>
>
> On 7/24/2014 6:28 PM, Arya Farzan wrote:
>
>> I just tried this with IE and it says "The webpage cannot be found"
>>
>> in google chrome source is 100% blank
>>
>>
>> On Thu, Jul 24, 2014 at 8:20 PM, Igal Sapir <i...@getrailo.org> wrote:
>>
>>  Check with view source on the blank page and see if you get anything
>>> there
>>> On Jul 24, 2014 6:16 PM, "Jordan Michaels" <jor...@viviotech.net> wrote:
>>>
>>>  Hi Arya,
>>>>
>>>> Are you using a web server like Apache in front of Tomcat, or are you
>>>> hitting the Tomcat port directly? This will tell us if the problem is
>>>> somewhere in your connector setup or not.
>>>>
>>>> Any clues in your catalina.out log file?
>>>>
>>>> Warm Regards,
>>>> Jordan Michaels
>>>>
>>>> On 07/24/2014 06:03 PM, Arya Farzan wrote:
>>>>
>>>>  Hello
>>>>>
>>>>> I also asked this on Stackoverflow but no one has commented or
>>>>> answered.
>>>>>
>>>>> I've been trying to configure tomcat for multiple domains and
>>>>>
>>>> everything I
>>>
>>>> have tried was unsuccessful.
>>>>>
>>>>> I added this to /etc/tomcat7/server.xml
>>>>>
>>>>> <Host name="www.mysite.com" appBase="webapps/mysite"
>>>>>               unpackWARs="true" autoDeploy="true">
>>>>>     <Alias>mysite.com</Alias>
>>>>> </Host>
>>>>>
>>>>> and I created the folder /var/lib/tomcat7/webapps/mysite
>>>>>
>>>>> Whenever I go to my domain all I get is a blank page. What am I doing
>>>>> wrong
>>>>> here? I am running Debian 7
>>>>>
>>>>>
>>>>>  ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>>
>>>>
>>>>
> --
> Igal Sapir
> Railo Core Developer
> http://getRailo.org/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to