You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Kollegger (JIRA)" <ji...@apache.org> on 2009/07/16 22:11:15 UTC

[jira] Created: (SLING-1051) SLING_ROOT should be configurable

SLING_ROOT should be configurable
---------------------------------

                 Key: SLING-1051
                 URL: https://issues.apache.org/jira/browse/SLING-1051
             Project: Sling
          Issue Type: Improvement
          Components: Engine
    Affects Versions: Engine 2.0.6
            Reporter: Andreas Kollegger
            Priority: Minor


Currently, SLING_ROOT is hard-wired to always be root. This is convenient as a default deployment for Sling, but prevents Sling from being deployed to an OSGi container where it shares space with another web application. 

    /**
     * The registration path for the SlingMainServlet is hard wired to always
     * be the root, aka "<code>/</code>" (value is "/").
     */
    private static final String SLING_ROOT = "/";

This should be changed to allow the registration path to be configurable. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.