tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uddav <adi.upr...@gmail.com>
Subject Creating virtual directory in Tomcat - HTTP Status 404 ...
Date Wed, 08 Oct 2008 21:11:55 GMT

hello everyone,

i am a novice in this field. I was trying to create a virtual directory
(alias directory) in Tomcat in Solaris box. Following is what i did.

1. stopped tomcat 

2. located the "server.xml" file under <INSTALL DIR>/tomcat/conf 

2. edited it to add 
       <Context path="/test"
	                        docBase="/dirtest/prod_scrpts"
	                        debug="1"
	                        reloadable="true" >
        </Context>

3. added the above between the host tags such that
     <Host appBase="webapps" autoDeploy.......>
     ... ... ... ...
          <Context path="/test"
	                        docBase="/dirtest/prod_scrpts"
	                        debug="1"
	                        reloadable="true" >
        </Context>
     </Host> 

4. started tomcat 

Now when i try to access the newly create virtual directory by going to the
URL "http://<servername>:8080/test" i get the error:

HTTP Status 404 - /test/
--------------------------------------------------------------------------------
type Status report
message /test/
description The requested resource (/test/) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.0.27

Any suggestions and recommendation will be greatly appreciated.

Thankyou
uddav 

-- 
View this message in context: http://www.nabble.com/Creating-virtual-directory-in-Tomcat---HTTP-Status-404-...-tp19887681p19887681.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Mime
View raw message