Hi Bertrand

Sorry for the late reply but I did not find time to look at it until now.

The Blog works perfectly for me but I had to take two more steps to make it 
work with the security:

1) Check off 'Login Form' in 'Apache Sling Authorization Header Authenticator'

2) Check off 'Access auth resources anonymously' in 'Apache Sling OpenID 
Authenticator'

I am not an expert when it comes to security especially not in Sling but that 
is what I had to do in order to make the 46-line blog work and using WebDav to 
do that.
I am using Mac OS X 10.6 with Java 1.6 and start Sling as standalone from SVN 
(launchpad/app).

Hope that helps. If you could add these two notes then the 46-line blog 
tutorial would be working great.

Cheers - Andy


On Feb 16, 2010, at 5:45 AM, Bertrand Delacretaz wrote:

> Hi Andreas,
> 
> On Thu, Feb 11, 2010 at 9:27 PM, Andreas Schaefer <[email protected]> wrote:
>> ...I wanted to showcase the 46-line blog example but with the current code I
>> cannot create a blog entry using the /apps/blog/blog.esp script (1. 
>> version)....
> 
> That sample page was quite broken on our website, missing footnotes etc.
> 
> I have fixed it now, it will be live in a few hours at:
> 
>  http://sling.apache.org/site/46-line-blog.html
> 
> and in the meantime you can see the live source at
> 
>  http://cwiki.apache.org/confluence/display/SLINGxSITE/46+Line+Blog
> 
> The sample now works for me (macosx, Firefox 3.5.7) by running the
> org.apache.sling.launchpad-6-SNAPSHOT-standalone.jar from
> launchpad/builder and following the instructions on the sample page.
> 
> -Bertrand

Reply via email to