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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to