I believe that exists, or I'm misunderstanding the intent. Under

org.apache.sling.servlets.resolver

for the property servletresolver.defaultExtensions

-----Original Message-----
From: Bertrand Delacretaz [mailto:[email protected]] 
Sent: Wednesday, June 22, 2016 8:16 AM
To: users <[email protected]>
Subject: Re: Response content type when url has no extension

Hi,

On Wed, Jun 22, 2016 at 12:39 AM, Ben Fortuna <[email protected]> wrote:
> ...Should this be handled in sling or is it common practice to use 
> another mechanism to redirect / to /index.html? ...

I suspect people often use front-end rewriters like mod_rewrite to add 
extensions to URLs which have none.

Having a configurable default extension in Sling might be interesting, but we'd 
probably need to limit it to specific paths, or make that just an extension 
point.

-Bertrand

Reply via email to