Mladen Turk wrote:
> Mansour wrote:
>
>>
Now I removed these lines and deleted the auto created file
/etc/httpd/conf.d/mod_jk.conf
>>
>> And I added to server.xml these lines
>>
>> <Host name="virtualhost" appBase="/path/to/virtualhost">
>> <Context path="" docBase="webapp1" debug="0"/>
>> </Host>
>>
>> the file mod_jk.conf is generated automatically:
>>
>
Yes I can access any file in the root directory of my virtual host
> You don't need that. Remove any autoconf generation
> directives. You need only to map the *.jsp, right?
>
>>
>> Now, pointing my browser to http://virtualhost/hello.jsp gives error
>> 404.
>> What did I do wrong ?? and what other files I have to edit. Please I
>> really need help in this??
>>
>
> I suppose you have your 'virtualhost' defined inside httpd.conf
> as well.
> Can you access http://virtualhost/index.html ?
>
> Regards,
> Mladen.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|