Artur Rataj wrote:

>> Please help me. I tried this:
>>
>>        <Context path=\"/disk\" docBase=\"/home/lib/disk\" debug=\"0\"
>>                 reloadable=\"true\">
>>        </Context>
>>
>> with various combinations of slashes, with a symlink etc. it all gives
>> 404 when trying
>>
>> http://<address>/disk
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>

u\'re using this context description in the server.xml file, arent\'t you?

1) save these lines as  <tomcat>/conf/Catalina/localhost/disk.xml
------
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Context
    docBase=\"/home/lib/disk\" reloadable=\"true\">
</Context>
-------

2) open the <tomcat>/conf/web.xml file, find the definition for
DefaultServlet and make
sure these lines appears
----
        <init-param>
            <param-name>listings</param-name>
            <param-value>true</param-value>
        </init-param>
----

3) u\'re working in linux, so check if \"/home/lib/disk\" is accessible to
tomcat.
or try to list \"/tmp\" directory

good luck



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