}
@Override
public Configuration getConfiguration(final ServletContext context)
{
Configuration config = ConfigurationBuilder.begin()
.addRule(Join.path("/{p}").to("/{p}.txt"))
.when(Not.any(ServletMapping.includes("/{p}")
.or(Filesystem.fileExists(new File("/{p}")))
.or(Resource.exists("/{p}"))))