File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Delare virtual host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Delare virtual host" Watch "Delare virtual host" New topic
Author

Delare virtual host

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
Hi all,

I try to declare a virtual host in my local pc and tried to access it but it seems cannot find the page. Here is what I put in server.xml

<Host name="testlocalhost" appBase="D:/jakarta-tomcat-4.1.31/webapps">
<Context path="" docBase="."/>
<Context path="/examples" docBase="examples" debug="0"
reloadable="true" crossContext="true"/>
</Host>

I access testlocalhost:8080/examples but cannot find the page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Delare virtual host
 
Similar Threads
Problem while virtual hosting in Tomcat 5.0.28
Multiple web applications, one virtual host, access logging
Tomcat error when running startup.sh
Virtual host apps reload localhost app
How to deploy my own directory in Tomcat?