tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artur Rataj" <arturra...@gmail.com>
Subject DefaultServlet, allowLinking, symbolic links do not work
Date Wed, 24 Oct 2007 13:22:40 GMT
Hello, this is the DefaultServlet definition to allow listings:

    <servlet>
        <servlet-name>Listings</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
            <param-name>debug</param-name>
            <param-value>0</param-value>
        </init-param>
        <init-param>
            <param-name>listings</param-name>
            <param-value>true</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
        <servlet-name>Listings</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>


This is the app's context.xml that allows symbolic links:

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/" allowLinking="true" />

And directory symbolic links still do not work. Why?

Best regards,
Artur

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