Now what ???

Hello All,

This is related to tomcat jsp configuration
My tomcat server is installed and running
See http://209.217.52.60:4180/index.html
All sample jsp and servlet files function properly

Now i want to run the same on virtual hosts (Name based)
I made following change in server.xml file

<Host name="domain.com" >
<Context path=""
docBase="/usr/local/plesk/apache/vhosts/domain.com/httpdocs/jsp" />
<Context path="/examples"
docBase="/usr/local/plesk/apache/vhosts/domain.com/httpdocs/jsp" />
</Host>

---------------------------------------------
I also tried

------------------------------------
<Host>
<Host name="domain.com">
<Context path="" docBase="/usr/local/plesk/apache/vhosts/domain.com/httpdocs/jsp"/>
</Host>

----------------------------------------

Do i have to add anything in httpsd.conf

I am getting 500 internal server errors

The samples however run perfect as u can see above

How to configure virtual hosting on tomcat


Regrds

Manish Kapadia

 

 

 

 

Top